web3-0.9.1.0: Web3 API for Haskell.

CopyrightAlexander Krupenkin 2016
LicenseBSD3
Maintainermail@akru.me
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Network.Ipfs.Api.Swarm

Description

Api calls with swarm prefix.

Synopsis

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

filters :: MonadIO m => IpfsT m SwarmObj Source #

Manipulate address filters.

filterAdd :: MonadIO m => Text -> IpfsT m SwarmObj Source #

Add an address filter. peerId has to be of the format - ip4{IP addr of peer}ipcidr{ip network prefix}

filterRm :: MonadIO m => Text -> IpfsT m SwarmObj Source #

Remove an address filter.