ESPHome  2024.4.1
Public Member Functions | Protected Attributes
esphome::web_server_idf::AsyncWebServerResponseContent Class Reference

#include <web_server_idf.h>

Inheritance diagram for esphome::web_server_idf::AsyncWebServerResponseContent:
esphome::web_server_idf::AsyncWebServerResponse

Public Member Functions

 AsyncWebServerResponseContent (const AsyncWebServerRequest *req, std::string content)
 
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

std::string content_
 
- Protected Attributes inherited from esphome::web_server_idf::AsyncWebServerResponse
const AsyncWebServerRequestreq_
 

Detailed Description

Definition at line 55 of file web_server_idf.h.

Constructor & Destructor Documentation

◆ AsyncWebServerResponseContent()

esphome::web_server_idf::AsyncWebServerResponseContent::AsyncWebServerResponseContent ( const AsyncWebServerRequest req,
std::string  content 
)
inline

Definition at line 57 of file web_server_idf.h.

Member Function Documentation

◆ get_content_data()

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

Implements esphome::web_server_idf::AsyncWebServerResponse.

Definition at line 60 of file web_server_idf.h.

◆ get_content_size()

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

Implements esphome::web_server_idf::AsyncWebServerResponse.

Definition at line 61 of file web_server_idf.h.

Field Documentation

◆ content_

std::string esphome::web_server_idf::AsyncWebServerResponseContent::content_
protected

Definition at line 61 of file web_server_idf.h.


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