Expand description
The relay’s rooms, as a state machine with no sockets or threads: a request from a game goes
in, and the messages for each game come out. The relay program (apps/server), the in-memory
transport (crate::memory) and tests use the same rules.
Structs§
- Relay
- The rooms and the games connected to a relay.
- Reply
- What one request did: the messages to send, to whom, in order, and whether the relay should close this game’s connection (after sending them).
Type Aliases§
- Client
- A game connected to the relay, by a number the caller gives it.