ESPHome  2024.11.1
Public Member Functions | Protected Attributes
esphome::web_server_idf::AsyncWebServerResponseProgmem Class Reference

#include <web_server_idf.h>

Inheritance diagram for esphome::web_server_idf::AsyncWebServerResponseProgmem:
esphome::web_server_idf::AsyncWebServerResponse

Public Member Functions

 AsyncWebServerResponseProgmem (const AsyncWebServerRequest *req, const uint8_t *data, const size_t size)
 
const char * get_content_data () const override
 
size_t get_content_size () const override
 
- Public Member Functions inherited from esphome::web_server_idf::AsyncWebServerResponse
 AsyncWebServerResponse (const AsyncWebServerRequest *req)
 
virtual ~AsyncWebServerResponse ()
 
void addHeader (const char *name, const char *value)
 

Protected Attributes

const uint8_t * data_
 
size_t size_
 
- Protected Attributes inherited from esphome::web_server_idf::AsyncWebServerResponse
const AsyncWebServerRequestreq_
 

Detailed Description

Definition at line 83 of file web_server_idf.h.

Constructor & Destructor Documentation

◆ AsyncWebServerResponseProgmem()

esphome::web_server_idf::AsyncWebServerResponseProgmem::AsyncWebServerResponseProgmem ( const AsyncWebServerRequest req,
const uint8_t *  data,
const size_t  size 
)
inline

Definition at line 85 of file web_server_idf.h.

Member Function Documentation

◆ get_content_data()

const char* esphome::web_server_idf::AsyncWebServerResponseProgmem::get_content_data ( ) const
inlineoverridevirtual

Implements esphome::web_server_idf::AsyncWebServerResponse.

Definition at line 88 of file web_server_idf.h.

◆ get_content_size()

size_t esphome::web_server_idf::AsyncWebServerResponseProgmem::get_content_size ( ) const
inlineoverridevirtual

Implements esphome::web_server_idf::AsyncWebServerResponse.

Definition at line 89 of file web_server_idf.h.

Field Documentation

◆ data_

const uint8_t* esphome::web_server_idf::AsyncWebServerResponseProgmem::data_
protected

Definition at line 89 of file web_server_idf.h.

◆ size_

size_t esphome::web_server_idf::AsyncWebServerResponseProgmem::size_
protected

Definition at line 93 of file web_server_idf.h.


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