IpfsSwarmCommand class
Constructors
Properties
- addr → IpfsSwarmAddrSubcommand
-
final
- filters → IpfsSwarmFiltersSubcommand
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- peering → IpfsSwarmPeeringSubcommand
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
{required String peerAddr}) → Future< Map< String, dynamic> > -
Open connection to a given address.
/api/v0/swarm/connect
-
disconnect(
{required String peerAddr}) → Future< Map< String, dynamic> > -
Close connection to a given address.
/api/v0/swarm/disconnect
-
limit(
{required String path, required String scope}) → Future< Map< String, dynamic> > -
EXPERIMENTAL
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
peers(
{bool? verbose, bool? streams, bool? latency, bool? direction}) → Future< Map< String, dynamic> > -
List peers with open connections.
/api/v0/swarm/peers
-
stats(
{required String scope}) → Future< Map< String, dynamic> > -
EXPERIMENTAL
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited