ESPHome  2024.11.0
Public Member Functions | Protected Attributes
esphome::http_request::HttpContainerArduino Class Reference

#include <http_request_arduino.h>

Inheritance diagram for esphome::http_request::HttpContainerArduino:
esphome::http_request::HttpContainer esphome::Parented< HttpRequestComponent >

Public Member Functions

int read (uint8_t *buf, size_t max_len) override
 
void end () override
 
- Public Member Functions inherited from esphome::http_request::HttpContainer
virtual ~HttpContainer ()=default
 
void set_secure (bool secure)
 
size_t get_bytes_read () const
 
- Public Member Functions inherited from esphome::Parented< HttpRequestComponent >
 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

HTTPClient client_ {}
 
- Protected Attributes inherited from esphome::http_request::HttpContainer
size_t bytes_read_ {0}
 
bool secure_ {false}
 
- 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
 

Detailed Description

Definition at line 21 of file http_request_arduino.h.

Member Function Documentation

◆ end()

void esphome::http_request::HttpContainerArduino::end ( )
overridevirtual

Implements esphome::http_request::HttpContainer.

Definition at line 159 of file http_request_arduino.cpp.

◆ read()

int esphome::http_request::HttpContainerArduino::read ( uint8_t *  buf,
size_t  max_len 
)
overridevirtual

Implements esphome::http_request::HttpContainer.

Definition at line 132 of file http_request_arduino.cpp.

Field Documentation

◆ client_

HTTPClient esphome::http_request::HttpContainerArduino::client_ {}
protected

Definition at line 28 of file http_request_arduino.h.


The documentation for this class was generated from the following files: