Expand description
Server-to-client messages.
All messages that can be sent from the backend server to frontend clients.
Messages are tagged with type field for JSON serialization.
§Categories
- Connection: Handshake responses, heartbeat acks
- Lobby State: Snapshots and deltas for lobby state
- Game State: Snapshots and deltas for game state
- Events: Discrete events (player joined, word scored, etc.)
- Errors: Error responses with codes and messages
Structs§
- Lobby
Snapshot - Complete lobby state snapshot.
Enums§
- Server
Message - Messages sent from server to client.