ESPHome 2026.3.0-dev
Loading...
Searching...
No Matches
esphome::web_server Namespace Reference

Data Structures

class  DeferredUpdateEventSource
 
class  DeferredUpdateEventSourceList
 
struct  EntityMatchResult
 Result of matching a URL against an entity. More...
 
class  ListEntitiesIterator
 
struct  SortingComponents
 
struct  SortingGroup
 
struct  UrlMatch
 Internal helper struct that is used to parse incoming URLs. More...
 
class  WebServer
 This class allows users to create a web server with their ESP nodes. More...
 
class  WebServerOTAComponent
 

Typedefs

using ParamNameType = const __FlashStringHelper *
 
using message_generator_t = json::SerializationBuffer<>(WebServer *, void *)
 

Enumerations

enum  SwitchAction : uint8_t { SWITCH_ACTION_NONE , SWITCH_ACTION_TOGGLE , SWITCH_ACTION_TURN_ON , SWITCH_ACTION_TURN_OFF }
 
enum  LockAction : uint8_t { LOCK_ACTION_NONE , LOCK_ACTION_LOCK , LOCK_ACTION_UNLOCK , LOCK_ACTION_OPEN }
 
enum  JsonDetail { DETAIL_ALL , DETAIL_STATE }
 

Functions

void __attribute__ ((flatten)) DeferredUpdateEventSource
 

Variables

constexpr uint8_t INDEX_GZ[] PROGMEM
 

Typedef Documentation

◆ message_generator_t

◆ ParamNameType

typedef const char * esphome::web_server::ParamNameType = const __FlashStringHelper *

Definition at line 41 of file web_server.h.

Enumeration Type Documentation

◆ JsonDetail

Enumerator
DETAIL_ALL 
DETAIL_STATE 

Definition at line 96 of file web_server.h.

◆ LockAction

Enumerator
LOCK_ACTION_NONE 
LOCK_ACTION_LOCK 
LOCK_ACTION_UNLOCK 
LOCK_ACTION_OPEN 

Definition at line 1640 of file web_server.cpp.

◆ SwitchAction

Enumerator
SWITCH_ACTION_NONE 
SWITCH_ACTION_TOGGLE 
SWITCH_ACTION_TURN_ON 
SWITCH_ACTION_TURN_OFF 

Definition at line 692 of file web_server.cpp.

Function Documentation

◆ __attribute__()

void esphome::web_server::__attribute__ ( (flatten) )

Definition at line 201 of file web_server.cpp.

Variable Documentation

◆ PROGMEM

uint8_t INDEX_BR [] esphome::web_server::PROGMEM
constexpr

Definition at line 12 of file server_index_v2.h.