Function esp_idf_svc::hal::sys::esp_transport_ws_set_auth

source ยท
pub unsafe extern "C" fn esp_transport_ws_set_auth(
    t: *mut esp_transport_item_t,
    auth: *const i8,
) -> i32
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