rtorrent-rpc-0.2.1.0: A library for communicating with RTorrent over its XML-RPC interface.

Copyright(c) Kai Lindholm, 2014
LicenseMIT
Maintainermegantti@gmail.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Network.RTorrent.Peer

Contents

Description

For more info on actions, see Network.RTorrent.Action.

Synopsis

Documentation

data PeerId Source

Constructors

PeerId !TorrentId !String 

Instances

Show PeerId 
NFData PeerId 
XmlRpcType PeerId 

getPeerPartial :: PeerId -> PeerAction (PeerId -> PeerInfo) Source

Get a partial peer. PeerId can be gotten by running allPeers.

allPeers :: (PeerId -> PeerAction a) -> TorrentId -> TorrentAction [PeerId :*: a] Source

Run the peer action on all peers that a torrent has.

Control peers

Functions for single variables