protocolVersion property
The version of the protocol this connection speaks, or null until one
is settled.
initialize fills this in for a version this client supports. Assign it directly if your transport settles the version outside the handshake.
Some APIs may error if you attempt to use them without first checking the protocol version.
Implementation
ProtocolVersion? protocolVersion;