#include <web_server_idf.h>
|
| AsyncEventSource (std::string url) |
|
| ~AsyncEventSource () override |
|
bool | canHandle (AsyncWebServerRequest *request) override |
|
void | handleRequest (AsyncWebServerRequest *request) override |
|
void | onConnect (connect_handler_t cb) |
|
void | send (const char *message, const char *event=nullptr, uint32_t id=0, uint32_t reconnect=0) |
|
size_t | count () const |
|
Public Member Functions inherited from esphome::web_server_idf::AsyncWebHandler |
virtual | ~AsyncWebHandler () |
|
virtual void | handleUpload (AsyncWebServerRequest *request, const std::string &filename, size_t index, uint8_t *data, size_t len, bool final) |
|
virtual void | handleBody (AsyncWebServerRequest *request, uint8_t *data, size_t len, size_t index, size_t total) |
|
virtual bool | isRequestHandlerTrivial () |
|
Definition at line 235 of file web_server_idf.h.
◆ AsyncEventSource()
esphome::web_server_idf::AsyncEventSource::AsyncEventSource |
( |
std::string |
url | ) |
|
|
inline |
◆ ~AsyncEventSource()
esphome::web_server_idf::AsyncEventSource::~AsyncEventSource |
( |
| ) |
|
|
override |
◆ canHandle()
◆ count()
size_t esphome::web_server_idf::AsyncEventSource::count |
( |
| ) |
const |
|
inline |
◆ handleRequest()
◆ onConnect()
void esphome::web_server_idf::AsyncEventSource::onConnect |
( |
connect_handler_t |
cb | ) |
|
|
inline |
◆ send()
void esphome::web_server_idf::AsyncEventSource::send |
( |
const char * |
message, |
|
|
const char * |
event = nullptr , |
|
|
uint32_t |
id = 0 , |
|
|
uint32_t |
reconnect = 0 |
|
) |
| |
◆ on_connect_
connect_handler_t esphome::web_server_idf::AsyncEventSource::on_connect_ {} |
|
protected |
◆ sessions_
◆ url_
std::string esphome::web_server_idf::AsyncEventSource::url_ |
|
protected |
The documentation for this class was generated from the following files: