ESPHome
2024.8.3
|
#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 |
![]() | |
virtual | ~HttpContainer ()=default |
void | set_secure (bool secure) |
size_t | get_bytes_read () const |
![]() | |
Parented () | |
Parented (HttpRequestComponent *parent) | |
HttpRequestComponent * | get_parent () const |
Get the parent of this object. More... | |
void | set_parent (HttpRequestComponent *parent) |
Set the parent of this object. More... | |
Protected Attributes | |
esp_http_client_handle_t | client_ |
![]() | |
size_t | bytes_read_ {0} |
bool | secure_ {false} |
![]() | |
HttpRequestComponent * | parent_ |
Additional Inherited Members | |
![]() | |
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 199 of file http_request_idf.cpp.
|
overridevirtual |
Implements esphome::http_request::HttpContainer.
Definition at line 179 of file http_request_idf.cpp.
|
protected |
Definition at line 22 of file http_request_idf.h.