|
DeterministicESPAsyncWebServer 1.2.0
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Internal route entry stored in the routing table. More...
#include <DeterministicESPAsyncWebServer.h>
Public Attributes | |
| char | path [MAX_PATH_LEN] |
| Null-terminated path pattern. | |
| RouteType | type |
| HTTP, WS, or SSE. | |
| HttpMethod | method |
| HTTP method (ROUTE_HTTP only). | |
| Handler | callback |
| HTTP handler (ROUTE_HTTP only). | |
| bool | is_active |
false for unused table slots. | |
| bool | is_wildcard |
true when path ends with *. | |
Internal route entry stored in the routing table.
Populated by DetWebServer::on(), on_ws(), or on_sse(). Application code does not interact with this struct directly.
Definition at line 164 of file DeterministicESPAsyncWebServer.h.
| char Route::path[MAX_PATH_LEN] |
Null-terminated path pattern.
Definition at line 166 of file DeterministicESPAsyncWebServer.h.
| RouteType Route::type |
HTTP, WS, or SSE.
Definition at line 167 of file DeterministicESPAsyncWebServer.h.
Referenced by DetWebServer::on().
| HttpMethod Route::method |
HTTP method (ROUTE_HTTP only).
Definition at line 168 of file DeterministicESPAsyncWebServer.h.
Referenced by DetWebServer::on().
| Handler Route::callback |
HTTP handler (ROUTE_HTTP only).
Definition at line 169 of file DeterministicESPAsyncWebServer.h.
Referenced by DetWebServer::on().
| bool Route::is_active |
false for unused table slots.
Definition at line 188 of file DeterministicESPAsyncWebServer.h.
| bool Route::is_wildcard |
true when path ends with *.
Definition at line 189 of file DeterministicESPAsyncWebServer.h.