mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-16 23:05:38 +00:00
httpd: Support user_ctx in websocket handler callback request
Closes https://github.com/espressif/esp-idf/issues/6538
This commit is contained in:
@@ -329,6 +329,7 @@ esp_err_t httpd_uri(struct httpd_data *hd)
|
||||
aux->sd->ws_handshake_done = true;
|
||||
aux->sd->ws_handler = uri->handler;
|
||||
aux->sd->ws_control_frames = uri->handle_ws_control_frames;
|
||||
aux->sd->ws_user_ctx = uri->user_ctx;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user