| 225 | /// Reduces boilerplate of setting up response channels in WebSocket handlers. |
| 226 | #[derive(Debug, Clone)] |
| 227 | pub struct ChatServerHandle { |
| 228 | cmd_tx: mpsc::UnboundedSender<Command>, |
| 229 | } |
| 230 | |
| 231 | impl ChatServerHandle { |
| 232 | /// Register client message sender and obtain connection ID. |
nothing calls this directly
no outgoing calls
no test coverage detected