Skip to main contentModule server
Source - BroadcastAll
- Message to broadcast to all connected clients
- BroadcastToRoom
- Message to broadcast to a specific room
- BroadcastToUser
- Message to broadcast to a specific user
- Connect
- Message to connect a new client
- Disconnect
- Message to disconnect a client
- Subscribe
- Message to subscribe to a room/channel
- Unsubscribe
- Message to unsubscribe from a room/channel
- WsMessage
- WebSocket message to send to a client
- WsServer
- WebSocket broadcast server
Maintains registry of all active connections and handles message broadcasting