Expand description
WebSocket client with auto-reconnect, message queueing, and channel mux.
Driven by tick(dt) each frame. Messages arrive as WsEvent values
polled from drain_events(). Send messages with send().
Auto-reconnect: exponential backoff on disconnect. Message queue: outgoing messages buffered during disconnection. Channel mux: multiple logical channels on one connection.
Structs§
- Channel
Config - WsClient
- WebSocket client driven by
tick().