Expand description
WebSocket message type registry.
Provides a canonical enum of all WebSocket message types used between the
server and the React frontend. The Display / Serialize implementations
produce the exact same JSON strings the frontend expects.
Enums§
- WsMessage
Type - All known WebSocket message types, matching the Python
WSMessageTypeenum.
Functions§
- ws_
message - Construct a standard WebSocket message envelope.