protocol property

String protocol

The WebSocket subprotocol negotiated with the peer.

Will be the empty string if no subprotocol was negotiated.

See RFC-6455 1.9.

Implementation

String get protocol;