1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-07-29 21:01:13 +03:00

Handler for websocket connection (Step 7/7)

Add an interface to register handler for websocket connections.
See enhancement #30 and question #101
This commit is contained in:
bel
2015-04-19 23:20:08 +02:00
parent 121ae6c7f6
commit 8c90b3cae5
7 changed files with 29 additions and 19 deletions

View File

@ -1,3 +1,8 @@
/* This example uses deprecated interfaces: global websocket callbacks.
They have been superseeded by URI specific callbacks.
See examples/embedded_c for an up to date example.
*/
#include <stdio.h>
#include <ctype.h>
#include <string.h>