Function esp_idf_sys::esp_transport_ws_set_auth
source ยท pub unsafe extern "C" fn esp_transport_ws_set_auth(
t: esp_transport_handle_t,
auth: *const c_char,
) -> esp_err_t
Expand description
@brief Set websocket authorization headers
@param t websocket transport handle @param sub_protocol The HTTP authorization header string, set NULL to clear the old value
@return - ESP_OK on success - One of the error codes