mirror of
https://github.com/lammertb/libhttp.git
synced 2025-07-31 08:24:23 +03:00
Update websocket example - use the current interface
This commit is contained in:
@ -27,9 +27,9 @@ void websock_exit_lib(const struct mg_context *ctx);
|
||||
|
||||
void websock_send_broadcast(struct mg_context *ctx, const char * data, int data_len);
|
||||
|
||||
void websocket_ready_handler(struct mg_connection *conn);
|
||||
int websocket_data_handler(struct mg_connection *conn, int flags, char *data, size_t data_len);
|
||||
void connection_close_handler(const struct mg_connection *conn);
|
||||
void websocket_ready_handler(struct mg_connection *conn, void *_ignored);
|
||||
int websocket_data_handler(struct mg_connection *conn, int flags, char *data, size_t data_len, void *_ignored);
|
||||
void connection_close_handler(const struct mg_connection *conn, void *_ignored);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user