Function esp_idf_svc::sys::esp_http_client_set_auth_data

source ยท
pub unsafe extern "C" fn esp_http_client_set_auth_data(
    client: *mut esp_http_client,
    auth_data: *const i8,
    len: i32,
) -> i32
Expand description

@brief On receiving a custom authentication header, this API can be invoked to set the authentication information from the header. This API can be called from the event handler.

@param[in] client The esp_http_client handle @param[in] auth_data The authentication data received in the header @param[in] len length of auth_data.

@return - ESP_ERR_INVALID_ARG - ESP_OK