basws-server is a simple WebSocket framework. For more information, see the basws README.
To set up your own protocol server:
ServerLogic
traitServer
singleton passing in your ServerLogic
implementorServer::incoming_connection
with the websocket during on_upgradeServer::send_to_installation_id
, Server::send_to_account_id
, and Server::broadcast
to communicate out-of-band with clients.For a full example, check out the chat-server example.