ESPHome  2025.3.3
Public Member Functions | Protected Member Functions
esphome::web_server::DeferredUpdateEventSourceList Class Reference

#include <web_server.h>

Inheritance diagram for esphome::web_server::DeferredUpdateEventSourceList:

Public Member Functions

void loop ()
 
void deferrable_send_state (void *source, const char *event_type, message_generator_t *message_generator)
 
void try_send_nodefer (const char *message, const char *event=nullptr, uint32_t id=0, uint32_t reconnect=0)
 
void add_new_client (WebServer *ws, AsyncWebServerRequest *request)
 

Protected Member Functions

void on_client_connect_ (WebServer *ws, DeferredUpdateEventSource *source)
 
void on_client_disconnect_ (DeferredUpdateEventSource *source)
 

Detailed Description

Definition at line 125 of file web_server.h.

Member Function Documentation

◆ add_new_client()

void esphome::web_server::DeferredUpdateEventSourceList::add_new_client ( WebServer ws,
AsyncWebServerRequest *  request 
)

Definition at line 166 of file web_server.cpp.

◆ deferrable_send_state()

void esphome::web_server::DeferredUpdateEventSourceList::deferrable_send_state ( void *  source,
const char *  event_type,
message_generator_t message_generator 
)

Definition at line 152 of file web_server.cpp.

◆ loop()

void esphome::web_server::DeferredUpdateEventSourceList::loop ( )

Definition at line 146 of file web_server.cpp.

◆ on_client_connect_()

void esphome::web_server::DeferredUpdateEventSourceList::on_client_connect_ ( WebServer ws,
DeferredUpdateEventSource source 
)
protected

Definition at line 181 of file web_server.cpp.

◆ on_client_disconnect_()

void esphome::web_server::DeferredUpdateEventSourceList::on_client_disconnect_ ( DeferredUpdateEventSource source)
protected

Definition at line 206 of file web_server.cpp.

◆ try_send_nodefer()

void esphome::web_server::DeferredUpdateEventSourceList::try_send_nodefer ( const char *  message,
const char *  event = nullptr,
uint32_t  id = 0,
uint32_t  reconnect = 0 
)

Definition at line 159 of file web_server.cpp.


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