mirror of
https://github.com/lammertb/libhttp.git
synced 2025-07-31 08:24:23 +03:00
Added a unit test for websocket_client functionality, other small fixes
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
#define PORT "8888"
|
||||
#define SSL_CERT "./ssl/server.pem"
|
||||
|
||||
int websocket_data_handler(struct mg_connection *conn, int flags, char *data, size_t data_len)
|
||||
static int websocket_data_handler(struct mg_connection *conn, int flags, char *data, size_t data_len)
|
||||
{
|
||||
printf("From server: %s\r\n", data);
|
||||
|
||||
|
Reference in New Issue
Block a user