|
ESPHome 2025.12.0-dev
|
#include <http_request_idf.h>
Public Member Functions | |
| HttpContainerIDF (esp_http_client_handle_t client) | |
| int | read (uint8_t *buf, size_t max_len) override |
| void | end () override |
| void | feed_wdt () |
| Feeds the watchdog timer if the executing task has one attached. | |
| void | set_response_headers (std::map< std::string, std::list< std::string > > &response_headers) |
Public Member Functions inherited from esphome::http_request::HttpContainer | |
| virtual | ~HttpContainer ()=default |
| void | set_secure (bool secure) |
| size_t | get_bytes_read () const |
| std::map< std::string, std::list< std::string > > | get_response_headers () |
| Get response headers. | |
| std::string | get_response_header (const std::string &header_name) |
Public Member Functions inherited from esphome::Parented< HttpRequestComponent > | |
| Parented () | |
| Parented (HttpRequestComponent *parent) | |
| HttpRequestComponent * | get_parent () const |
| Get the parent of this object. | |
| void | set_parent (HttpRequestComponent *parent) |
| Set the parent of this object. | |
Protected Attributes | |
| esp_http_client_handle_t | client_ |
Protected Attributes inherited from esphome::http_request::HttpContainer | |
| size_t | bytes_read_ {0} |
| bool | secure_ {false} |
| std::map< std::string, std::list< std::string > > | response_headers_ {} |
Protected Attributes inherited from esphome::Parented< HttpRequestComponent > | |
| HttpRequestComponent * | parent_ |
Additional Inherited Members | |
Data Fields inherited from esphome::http_request::HttpContainer | |
| size_t | content_length |
| int | status_code |
| uint32_t | duration_ms |
Definition at line 15 of file http_request_idf.h.
|
inline |
Definition at line 17 of file http_request_idf.h.
|
overridevirtual |
Implements esphome::http_request::HttpContainer.
Definition at line 234 of file http_request_idf.cpp.
| void esphome::http_request::HttpContainerIDF::feed_wdt | ( | ) |
Feeds the watchdog timer if the executing task has one attached.
Definition at line 241 of file http_request_idf.cpp.
|
overridevirtual |
Implements esphome::http_request::HttpContainer.
Definition at line 213 of file http_request_idf.cpp.
|
inline |
Definition at line 24 of file http_request_idf.h.
|
protected |
Definition at line 29 of file http_request_idf.h.