#include <http_request_idf.h>
Definition at line 22 of file http_request_idf.h.
◆ Stage
| Enumerator |
|---|
| STAGE_CONNECT | |
| STAGE_SEND_BODY | |
| STAGE_HEADERS | |
| STAGE_DONE | |
| STAGE_FAILED | |
Definition at line 36 of file http_request_idf.h.
◆ HttpContainerIDF()
| esphome::http_request::HttpContainerIDF::HttpContainerIDF |
( |
esp_http_client_handle_t | client | ) |
|
|
inline |
◆ end()
| void esphome::http_request::HttpContainerIDF::end |
( |
| ) |
|
|
overridevirtual |
◆ fail_()
◆ feed_wdt()
| void esphome::http_request::HttpContainerIDF::feed_wdt |
( |
| ) |
|
Feeds the watchdog timer if the executing task has one attached.
Definition at line 471 of file http_request_idf.cpp.
◆ idf_parent_()
| HttpRequestIDF * esphome::http_request::HttpContainerIDF::idf_parent_ |
( |
| ) |
|
|
protected |
◆ is_read_complete()
| bool esphome::http_request::HttpContainerIDF::is_read_complete |
( |
| ) |
const |
|
overridevirtual |
◆ poll()
◆ read()
| int esphome::http_request::HttpContainerIDF::read |
( |
uint8_t * | buf, |
|
|
size_t | max_len ) |
|
overridevirtual |
◆ read_()
| int esphome::http_request::HttpContainerIDF::read_ |
( |
uint8_t * | buf, |
|
|
size_t | max_len ) |
|
protected |
◆ read_available()
| int esphome::http_request::HttpContainerIDF::read_available |
( |
uint8_t * | buf, |
|
|
size_t | max_len ) |
|
overridevirtual |
◆ response_failed_()
| HttpRequestProgress esphome::http_request::HttpContainerIDF::response_failed_ |
( |
int | status_code | ) |
|
|
protected |
Finish with an unsuccessful status, which is reported through on_response like a success.
Definition at line 360 of file http_request_idf.cpp.
◆ socket_ready_()
| bool esphome::http_request::HttpContainerIDF::socket_ready_ |
( |
bool | write | ) |
|
|
protected |
True when the socket can be read or written without waiting; always true when it cannot be checked.
Definition at line 213 of file http_request_idf.cpp.
◆ wait_()
◆ async_
| bool esphome::http_request::HttpContainerIDF::async_ {false} |
|
protected |
◆ body_
| std::string esphome::http_request::HttpContainerIDF::body_ |
|
protected |
◆ body_sent_
| size_t esphome::http_request::HttpContainerIDF::body_sent_ {0} |
|
protected |
◆ client_
| esp_http_client_handle_t esphome::http_request::HttpContainerIDF::client_ |
|
protected |
◆ collect_headers_
| std::vector<std::string> esphome::http_request::HttpContainerIDF::collect_headers_ |
|
protected |
◆ connecting_
| bool esphome::http_request::HttpContainerIDF::connecting_ {false} |
|
protected |
◆ progress_time_
| uint32_t esphome::http_request::HttpContainerIDF::progress_time_ {0} |
|
protected |
◆ redirects_left_
| uint16_t esphome::http_request::HttpContainerIDF::redirects_left_ {0} |
|
protected |
◆ stage_
◆ start_time_
| uint32_t esphome::http_request::HttpContainerIDF::start_time_ {0} |
|
protected |
◆ timeout_ms_
| uint32_t esphome::http_request::HttpContainerIDF::timeout_ms_ {0} |
|
protected |
The documentation for this class was generated from the following files: