protocol property
The WebSocket subprotocol negotiated with the peer.
Will be the empty string if no subprotocol was negotiated.
See RFC-6455 1.9.
Implementation
@override
String get protocol => _webSocket.protocol ?? '';
The WebSocket subprotocol negotiated with the peer.
Will be the empty string if no subprotocol was negotiated.
See RFC-6455 1.9.
@override
String get protocol => _webSocket.protocol ?? '';