Function esp_idf_svc::sys::esp_http_client_add_auth

source ยท
pub unsafe extern "C" fn esp_http_client_add_auth(
    client: *mut esp_http_client,
)
Expand description

@brief On receiving HTTP Status code 401, this API can be invoked to add authorization information.

@note There is a possibility of receiving body message with redirection status codes, thus make sure to flush off body data after calling this API.

@param[in] client The esp_http_client handle