|
DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Zero-heap outbound WebSocket client, RFC 6455 (DETWS_ENABLE_WS_CLIENT). More...
Go to the source code of this file.
Zero-heap outbound WebSocket client, RFC 6455 (DETWS_ENABLE_WS_CLIENT).
Connects to a remote WebSocket endpoint (ws://, or wss:// over client-side mbedTLS) and exchanges text/binary messages - the device as a WebSocket client to a cloud dashboard or control plane. Split, like the other services, into a pure host-testable codec and an ESP32-only transport:
Client frames are always masked (RFC 6455 §5.3); server frames are not. Only unfragmented messages that fit DETWS_WS_CLIENT_BUF_SIZE are delivered.
Definition in file ws_client.h.