Commit 46a9e42b authored by Sergey Lyubka's avatar Sergey Lyubka

Async websockets work

parent 58d3abe1
This diff is collapsed.
...@@ -46,6 +46,7 @@ struct mg_connection { ...@@ -46,6 +46,7 @@ struct mg_connection {
char *content; // POST (or websocket message) data, or NULL char *content; // POST (or websocket message) data, or NULL
int content_len; // content length int content_len; // content length
int is_websocket; // Connection is a websocket connection
void *server_param; // Parameter passed to mg_add_uri_handler() void *server_param; // Parameter passed to mg_add_uri_handler()
void *connection_param; // Placeholder for connection-specific data void *connection_param; // Placeholder for connection-specific data
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment