WebSocket server which negotiates between BUGOUT frontend and an internal redis streams instance which brokers communication among the various micro-services.
- Make Move
- Find Public Game
- Create Private Pame
- Join Private Game
- Reconnect
- Provide History
- Req Sync
- Beep (client-originated keepalive)
Ensures that connected browsers receive updates from redis, based on a client ID. Maintains crib notes on game states.
In one terminal:
cargo run
In another terminal on the same machine:
cargo run --example client
Thank you to the authors of ws-rs. We adapted your examples to fit this use case and appreciate the effort in releasing this library.