|
DeterministicESPAsyncWebServer v6.28.0
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Browser "web serial" terminal over WebSocket (DETWS_ENABLE_WEB_TERMINAL). More...
#include "dwserver.h"Go to the source code of this file.
Typedefs | |
| typedef void(* | TermCommandCb) (const char *line, uint8_t client_id) |
Browser "web serial" terminal over WebSocket (DETWS_ENABLE_WEB_TERMINAL).
A zero-heap equivalent of the WebSerial-style remote serial monitor: it serves a self-contained terminal web page and a WebSocket endpoint on the same path. Device output is broadcast to every connected browser; each line a browser sends is delivered to a command callback. Rides the library's existing WebSocket layer (no extra connection state), so it is TLS-agnostic - the page auto-selects ws:// or wss:// from the page's own scheme.
No-op stubs when DETWS_ENABLE_WEB_TERMINAL is 0.
Definition in file web_terminal.h.
| typedef void(* TermCommandCb) (const char *line, uint8_t client_id) |
Definition at line 80 of file web_terminal.h.