Function esp_idf_svc::sys::esp_transport_ws_get_upgrade_request_status
source ยท pub unsafe extern "C" fn esp_transport_ws_get_upgrade_request_status(
t: *mut esp_transport_item_t,
) -> i32
Expand description
@brief Returns the HTTP status code of the websocket handshake
This API should be called after the connection atempt otherwise its result is meaningless
@param t websocket transport handle
@return -Response status code -1 on failure