pub unsafe extern "C" fn httpd_ws_send_data(
    handle: *mut c_void,
    socket: i32,
    frame: *mut httpd_ws_frame
) -> i32
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