WebSocket ready on connected callback.
typedef WebSocketOnConnected = FutureOr<void> Function(WebSocket websocket);