handleConnection method
Handles an upgraded WebSocket connection whose upgrade request matched
this service. Services that do not serve WebSockets should close the
connection.
Implementation
@override
FutureOr<void> handleConnection(Connection connection, HubRequest request) =>
connection.close(WsCloseCodes.unsupported, 'WebSocket not supported');