WebSocketHandler constructor
const
WebSocketHandler({
- required WebSocketOnConnected onConnected,
- Handler? fallback,
- WebSocketProtocolSelector? protocolSelector,
- CompressionOptions compression = CompressionOptions.compressionDefault,
Implementation
const WebSocketHandler({
required this.onConnected,
this.fallback,
this.protocolSelector,
this.compression = CompressionOptions.compressionDefault,
});