Aria2.JsonRpcClient

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

GetPeers

Overview

Represents a request to get the peers of a download.


Constructors

GetPeers(string gid, string? id = null)

Returns an array of peer objects associated with the download denoted by gid. Each peer object contains details such as IP address, port, and speed information.

https://aria2.github.io/manual/en/html/aria2c.html#aria2.getPeers

Parameters:

Returns:

A read-only list of Aria2Peer objects.

Throws:

Aria2Exception Thrown when an aria2 error occurs.


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