Module re_ws_comms::server
source · Expand description
The server is a pub-sub architecture.
Each incoming log message is stored, and sent to any connected client. Each connecting client is first sent the history of stored log messages.
In the future thing will be changed to a protocol where the clients can query for specific data based on e.g. time.
Structs§
- Broadcasts messages to all connected clients and stores a history of messages to resend to new clients.
- Inner state of the
ReceiveSetBroadcaster
, protected by a mutex. - Websocket host for relaying [
LogMsg
]s to a web viewer.