httpd_ws_send_data() function
Sends data to to specified websocket synchronously
Arguments
handle
Server instance data
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(httpd_handle_t handle, int socket, httpd_ws_frame_t *frame);
httpd_ws_send_data() calls 6 functions:
![]()
httpd_ws_send_data()
httpd_ws_send_data() reads 1 variable and writes 4 variables:
![]()
httpd_ws_send_data()
httpd_ws_send_data() allocates 1 types and frees 1 types:
![]()
httpd_ws_send_data()