IpfsSwarmPeeringSubcommand class
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
-
add({required String peerAddr})
→ Future<Map<String, dynamic>>
-
Add peers into the peering subsystem.
/api/v0/swarm/peering/add
-
ls()
→ Future<Map<String, dynamic>>
-
List peers registered in the peering subsystem.
/api/v0/swarm/peering/ls
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
rm({required String peerId})
→ Future<Map<String, dynamic>>
-
Remove a peer from the peering subsystem.
/api/v0/swarm/peering/rm
-
toString()
→ String
-
A string representation of this object.
inherited