pub unsafe extern "C" fn esp_transport_ws_get_upgrade_request_status(
t: esp_transport_handle_t,
) -> c_int
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