Function esp_idf_svc::hal::sys::esp_transport_ws_set_headers
source ยท pub unsafe extern "C" fn esp_transport_ws_set_headers(
t: *mut esp_transport_item_t,
headers: *const i8,
) -> i32
Expand description
@brief Set websocket additional headers
@param t websocket transport handle @param sub_protocol additional header strings each terminated with \r\n
@return - ESP_OK on success - One of the error codes