Function esp_idf_sys::esp_http_client_set_header
source ยท pub unsafe extern "C" fn esp_http_client_set_header(
client: esp_http_client_handle_t,
key: *const c_char,
value: *const c_char,
) -> esp_err_t
Expand description
@brief Set http request header, this function must be called after esp_http_client_init and before any perform function
@param[in] client The esp_http_client handle @param[in] key The header key @param[in] value The header value
@return
- ESP_OK
- ESP_FAIL