ConnState class

ConnectionState holds information about the connection.

Constructors

ConnState({required ProtocolID streamMultiplexer, required ProtocolID security, required String transport, required bool usedEarlyMuxerNegotiation})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
security → String
The security protocol used on this connection (if any). For example: /tls/1.0.0
final
streamMultiplexer → String
The stream multiplexer used on this connection (if any). For example: /yamux/1.0.0
final
transport → String
The transport used on this connection. For example: tcp
final
usedEarlyMuxerNegotiation → bool
Indicates whether StreamMultiplexer was selected using inlined muxer negotiation
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited