|
DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Per-protocol connection event/poll callbacks (Layer 5 dispatch vtable). More...
#include <proto_handler.h>
Public Attributes | |
| void(* | on_accept )(uint8_t slot) |
| EvtType::EVT_CONNECT: a new connection was accepted. | |
| void(* | on_data )(uint8_t slot) |
| EvtType::EVT_DATA: bytes are available in the slot's rx ring. | |
| void(* | on_close )(uint8_t slot) |
| EvtType::EVT_DISCONNECT / EvtType::EVT_ERROR: tear down slot state. | |
| void(* | on_poll )(uint8_t slot) |
| Called for an active slot each handle() loop (nullable). | |
Per-protocol connection event/poll callbacks (Layer 5 dispatch vtable).
Definition at line 29 of file proto_handler.h.
| void(* ProtoHandler::on_accept) (uint8_t slot) |
EvtType::EVT_CONNECT: a new connection was accepted.
Definition at line 31 of file proto_handler.h.
| void(* ProtoHandler::on_data) (uint8_t slot) |
EvtType::EVT_DATA: bytes are available in the slot's rx ring.
Definition at line 32 of file proto_handler.h.
| void(* ProtoHandler::on_close) (uint8_t slot) |
EvtType::EVT_DISCONNECT / EvtType::EVT_ERROR: tear down slot state.
Definition at line 33 of file proto_handler.h.
| void(* ProtoHandler::on_poll) (uint8_t slot) |
Called for an active slot each handle() loop (nullable).
Definition at line 34 of file proto_handler.h.
Referenced by DetWebServer::service_once().