mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-26 12:50:30 +00:00
esp_http_client: add a get HTTP client session errno api for esp_http_client
This commit is contained in:
@@ -344,6 +344,17 @@ esp_err_t esp_http_client_set_password(esp_http_client_handle_t client, const ch
|
||||
*/
|
||||
esp_err_t esp_http_client_set_authtype(esp_http_client_handle_t client, esp_http_client_auth_type_t auth_type);
|
||||
|
||||
/**
|
||||
* @brief Get HTTP client session errno
|
||||
*
|
||||
* @param[in] client The esp_http_client handle
|
||||
*
|
||||
* @return
|
||||
* - (-1) if invalid argument
|
||||
* - errno
|
||||
*/
|
||||
int esp_http_client_get_errno(esp_http_client_handle_t client);
|
||||
|
||||
/**
|
||||
* @brief Set http request method
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user