CircuitV2Client class

Available extensions

Constructors

CircuitV2Client.new({required Host host, required Upgrader upgrader, required ConnManager connManager})

Properties

connManager ConnManager
final
hashCode int
The hash code for this object.
no setterinherited
host Host
final
peerstore Peerstore
no setter
protocolId String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
upgrader Upgrader
final

Methods

canDial(MultiAddr addr) bool
canListen(MultiAddr addr) bool
close() Future<void>
dial(MultiAddr addr, {Duration? timeout}) Future<TransportConn>
listen(MultiAddr addr) Future<CircuitListener>
listenAddrs() List<MultiAddr>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
protocols() List<ProtocolID>
reserve(PeerId relayPeerId) Future<Reservation>

Available on CircuitV2Client, provided by the ReservationExtension extension

Reserves a slot on a relay.
start() Future<void>
stop() Future<void>
toString() String
A string representation of this object.
inherited
transportForDial(MultiAddr addr) → dynamic
transportForListen(MultiAddr addr) → dynamic

Operators

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