Function esp_idf_sys::httpd_ws_send_data
source ยท pub unsafe extern "C" fn httpd_ws_send_data(
handle: httpd_handle_t,
socket: c_int,
frame: *mut httpd_ws_frame_t,
) -> esp_err_t
Expand description
@brief Sends data to to specified websocket synchronously
@param[in] handle Server instance data @param[in] socket Socket descriptor @param[in] frame Websocket frame @return
- ESP_OK : On successful
- ESP_FAIL : When socket errors occurs
- ESP_ERR_NO_MEM : Unable to allocate memory