httpd_ws_send_data_async() function
Sends data to to specified websocket asynchronously
Arguments
handle
Server instance data
callback
Callback invoked after sending data
arg
User data passed to provided callback
Return value
- ESP_OK : On successful - ESP_FAIL : When socket errors occurs - ESP_ERR_NO_MEM : Unable to allocate memory
![]()
esp_err_t httpd_ws_send_data_async(httpd_handle_t handle, int socket, httpd_ws_frame_t *frame,
httpd_ws_send_data_async() calls 3 functions:
![]()
httpd_ws_send_data_async()
httpd_ws_send_data_async() reads 1 variable and writes 4 variables:
![]()
httpd_ws_send_data_async()
httpd_ws_send_data_async() allocates 1 types and frees 1 types:
![]()
httpd_ws_send_data_async()