protocol property
String?
get
protocol
The subprotocol agreed during the handshake, or null when the client
offered none the route accepts.
Implementation
String? get protocol => _negotiatedProtocol ?? channel.protocol;