Represents a peer for a BitTorrent download.
string PeerIdPercent-encoded peer ID.
JSON key:
peerId
string IpIP address of the peer.
JSON key:
ip
int PortPort number of the peer.
JSON key:
port
string BitfieldHexadecimal representation of the download progress of the peer. The highest bit corresponds to the piece at index 0. Set bits indicate the piece is available and unset bits indicate the piece is missing. Any spare bits at the end are set to zero.
JSON key:
bitfield
bool AmChokingtrue if aria2 is choking the peer. Otherwise false.
JSON key:
amChoking
bool PeerChokingtrue if the peer is choking aria2. Otherwise false.
JSON key:
peerChoking
long DownloadSpeedDownload speed (byte/sec) that this client obtains from the peer.
JSON key:
downloadSpeed
long UploadSpeedUpload speed(byte/sec) that this client uploads to the peer.
JSON key:
uploadSpeed
bool Seedertrue if this peer is a seeder. Otherwise false.
JSON key:
seeder