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
void handleConnection(
omnyhub.Connection connection,
omnyhub.HubRequest request,
) => broker.accept(
FrameConnection.wrap(connection, codec: codecFactory?.call()),
);