Function esp_idf_sys::esp_transport_ws_set_headers

source ยท
pub unsafe extern "C" fn esp_transport_ws_set_headers(
    t: esp_transport_handle_t,
    headers: *const c_char,
) -> esp_err_t
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