Function esp_idf_sys::esp_transport_ws_set_user_agent
source ยท pub unsafe extern "C" fn esp_transport_ws_set_user_agent(
t: esp_transport_handle_t,
user_agent: *const c_char,
) -> esp_err_t
Expand description
@brief Set websocket user-agent header
@param t websocket transport handle @param sub_protocol user-agent string
@return - ESP_OK on success - One of the error codes