mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-27 20:48:29 +00:00
Add mqtt_over_websocket_server example
Fixed bug in websocket handshake: now adding Sec-WebSocket-Protocol header in handshake response. PUBLISHED_FROM=e4a71ff9dc4aeec63db40cb7f356dc5b25c1215a
This commit is contained in:
1 parent
d4b55c4ceb
commit
09e4254718
4 files changed
+156
-13
No files matched your search
@@ -5087,6 +5087,7 @@ int mg_http_create_digest_auth_header(char *buf, size_t buf_len,
|
||||
struct mg_mqtt_message {
|
||||
int cmd;
|
||||
int qos;
|
||||
int len; /* message length in the IO buffer */
|
||||
struct mg_str topic;
|
||||
struct mg_str payload;
|
||||
|
||||
|
||||
Reference in new issue
Block a user