Upgrader class abstract

Handles the full upgrade of connections to a secure and multiplexed state.

Implementers

Constructors

Upgrader.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
upgradeInbound({required TransportConn connection, required Config config}) Future<Conn>
Upgrades an inbound connection.
upgradeOutbound({required TransportConn connection, required PeerId remotePeerId, required Config config, required MultiAddr remoteAddr}) Future<Conn>
Upgrades an outbound connection.

Operators

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