mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
http_server: Add a flag to enable using control frames in user handlers
This commit is contained in:
@@ -84,7 +84,8 @@ static const httpd_uri_t ws = {
|
||||
.method = HTTP_GET,
|
||||
.handler = ws_handler,
|
||||
.user_ctx = NULL,
|
||||
.is_websocket = true
|
||||
.is_websocket = true,
|
||||
.handle_ws_control_frames = true
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user