Method | Description | |
---|---|---|
Addrs ( ) : Task |
List known addresses. Useful to debug. ipfs swarm addrs lists all addresses this node is aware of.
|
|
Connect ( string address ) : Task |
Open connection to a given address 'ipfs swarm connect' opens a connection to a peer address. The address format is an ipfs multiaddr: ipfs swarm connect /ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
|
|
Disconnect ( IEnumerable |
Close connection to a given address 'ipfs swarm disconnect' closes a connection to a peer address. The address format is an ipfs multiaddr: ipfs swarm disconnect /ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
|
|
Disconnect ( IEnumerable |
Close connection to a given address 'ipfs swarm disconnect' closes a connection to a peer address. The address format is an ipfs multiaddr: ipfs swarm disconnect /ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
|
|
Disconnect ( MultiAddress multiAddress ) : Task |
Close connection to a given address 'ipfs swarm disconnect' closes a connection to a peer address. The address format is an ipfs multiaddr: ipfs swarm disconnect /ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
|
|
Disconnect ( string multiAddress ) : Task |
Close connection to a given address 'ipfs swarm disconnect' closes a connection to a peer address. The address format is an ipfs multiaddr: ipfs swarm disconnect /ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
|
|
Peers ( ) : Task |
List peers with open connections ipfs swarm peers lists the set of peers this node is connected to.
|
Method | Description | |
---|---|---|
IpfsSwarm ( |
public Connect ( string address ) : Task |
||
address | string | address of peer to connect to |
return | Task |
public Disconnect ( IEnumerable |
||
multiAddresses | IEnumerable |
addresses of peers to disconnect from |
return | Task |
public Disconnect ( IEnumerable |
||
multiAddresses | IEnumerable |
|
return | Task |
public Disconnect ( MultiAddress multiAddress ) : Task |
||
multiAddress | MultiAddress | address of peer to disconnect from |
return | Task |
public Disconnect ( string multiAddress ) : Task |
||
multiAddress | string | address of peer to disconnect from |
return | Task |