| Copyright | Alexander Krupenkin 2016 |
|---|---|
| License | BSD3 |
| Maintainer | mail@akru.me |
| Stability | experimental |
| Portability | unknown |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Ipfs.Api.Swarm
Description
Api calls with swarm prefix.
Documentation
swarmPeers :: MonadIO m => IpfsT m SwarmPeersObj Source #
List peers with open connections.
connect :: MonadIO m => Text -> IpfsT m SwarmObj Source #
Open connection to a given address. peerId has to be of the format - ipfsid
disconnect :: MonadIO m => Text -> IpfsT m SwarmObj Source #
Close connection to a given address. peerId has to be of the format - ipfsid