Aria2.JsonRpcClient

Aria2.JsonRpcClient Documentation - Home | Client | Requests | Models | Examples

Aria2Peer Model


Overview

Represents a peer for a BitTorrent download.


Properties

string PeerId

Percent-encoded peer ID.

JSON key: peerId

string Ip

IP address of the peer.

JSON key: ip

int Port

Port number of the peer.

JSON key: port

string Bitfield

Hexadecimal 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 AmChoking

true if aria2 is choking the peer. Otherwise false.

JSON key: amChoking

bool PeerChoking

true if the peer is choking aria2. Otherwise false.

JSON key: peerChoking

long DownloadSpeed

Download speed (byte/sec) that this client obtains from the peer.

JSON key: downloadSpeed

long UploadSpeed

Upload speed(byte/sec) that this client uploads to the peer.

JSON key: uploadSpeed

bool Seeder

true if this peer is a seeder. Otherwise false.

JSON key: seeder


Top
© lantean-code - Generated on 2025-04-02