ESPHome  2024.10.2
Public Member Functions | Static Public Member Functions | Protected Attributes
esphome::web_server_idf::DefaultHeaders Class Reference

#include <web_server_idf.h>

Public Member Functions

void addHeader (const char *name, const char *value)
 

Static Public Member Functions

static DefaultHeadersInstance ()
 

Protected Attributes

std::vector< std::pair< std::string, std::string > > headers_
 

Detailed Description

Definition at line 262 of file web_server_idf.h.

Member Function Documentation

◆ addHeader()

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

Definition at line 268 of file web_server_idf.h.

◆ Instance()

static DefaultHeaders& esphome::web_server_idf::DefaultHeaders::Instance ( )
inlinestatic

Definition at line 271 of file web_server_idf.h.

Field Documentation

◆ headers_

std::vector<std::pair<std::string, std::string> > esphome::web_server_idf::DefaultHeaders::headers_
protected

Definition at line 277 of file web_server_idf.h.


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