|
|
| WebsocketHandler (httpd_handle_t server_handle, const char *uri) |
| |
|
void | register_endpoint () |
| |
|
void | unregister_endpoint () |
| |
|
virtual void * | handler (const uint8_t *recv_buf, size_t recv_len, uint8_t *&out_buf, size_t &out_len)=0 |
| |
|
virtual void | release_resource (void *resource) |
| |
| virtual httpd_ws_type_t | get_frame_type () const |
| | Get the WebSocket frame type for this handler.
|
| |
|
|
static esp_err_t | websocket_handler (httpd_req_t *req) |
| |
◆ get_frame_type()
| virtual httpd_ws_type_t WebsocketHandler::get_frame_type |
( |
| ) |
const |
|
inlinevirtual |
Get the WebSocket frame type for this handler.
- Returns
- HTTPD_WS_TYPE_TEXT for text data (JSON), HTTPD_WS_TYPE_BINARY for binary data (JPEG)
Reimplemented in StreamWebsocketHandler.
The documentation for this class was generated from the following file: