docs: corrected typo event_handler

esp_http_client_config_t has member event_handler not event_handle

Merges https://github.com/espressif/esp-idf/pull/2662
This commit is contained in:
Cheppali Umasankar Reddy 2018-11-04 13:57:17 +05:30 committed by Mahavir Jain
parent 0c9f7271a9
commit f85f64b481

View file

@ -53,7 +53,7 @@ Application Example
esp_http_client_config_t config = {
.url = "http://httpbin.org/redirect/2",
.event_handle = _http_event_handle,
.event_handler = _http_event_handle,
};
esp_http_client_handle_t client = esp_http_client_init(&config);
esp_err_t err = esp_http_client_perform(client);