ESPHome  2024.11.3
Public Member Functions | Protected Attributes
esphome::web_server_idf::AsyncWebServerResponse Class Referenceabstract

#include <web_server_idf.h>

Inheritance diagram for esphome::web_server_idf::AsyncWebServerResponse:
esphome::web_server_idf::AsyncResponseStream esphome::web_server_idf::AsyncWebServerResponseContent esphome::web_server_idf::AsyncWebServerResponseEmpty esphome::web_server_idf::AsyncWebServerResponseProgmem

Public Member Functions

 AsyncWebServerResponse (const AsyncWebServerRequest *req)
 
virtual ~AsyncWebServerResponse ()
 
void addHeader (const char *name, const char *value)
 
virtual const char * get_content_data () const =0
 
virtual size_t get_content_size () const =0
 

Protected Attributes

const AsyncWebServerRequestreq_
 

Detailed Description

Definition at line 32 of file web_server_idf.h.

Constructor & Destructor Documentation

◆ AsyncWebServerResponse()

esphome::web_server_idf::AsyncWebServerResponse::AsyncWebServerResponse ( const AsyncWebServerRequest req)
inline

Definition at line 34 of file web_server_idf.h.

◆ ~AsyncWebServerResponse()

virtual esphome::web_server_idf::AsyncWebServerResponse::~AsyncWebServerResponse ( )
inlinevirtual

Definition at line 35 of file web_server_idf.h.

Member Function Documentation

◆ addHeader()

void esphome::web_server_idf::AsyncWebServerResponse::addHeader ( const char *  name,
const char *  value 
)

Definition at line 249 of file web_server_idf.cpp.

◆ get_content_data()

virtual const char* esphome::web_server_idf::AsyncWebServerResponse::get_content_data ( ) const
pure virtual

◆ get_content_size()

virtual size_t esphome::web_server_idf::AsyncWebServerResponse::get_content_size ( ) const
pure virtual

Field Documentation

◆ req_

const AsyncWebServerRequest* esphome::web_server_idf::AsyncWebServerResponse::req_
protected

Definition at line 44 of file web_server_idf.h.


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