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