Aria2.JsonRpcClient

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

ChangeUri

Overview

Represents a request to change the URIs of a download.


Constructors

ChangeUri(string gid, int fileIndex, IEnumerable<string> delUris, IEnumerable<string> addUris, int? position = null, string? id = null)

Removes URIs specified in delUris and appends URIs in addUris for the download (and file index) denoted by gid.fileIndex is 1-based. position specifies the insertion position after deletion. Returns an array with two integers: the number of URIs deleted and the number of URIs added.

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

Parameters:

Returns:

An array of two integers: [number deleted, number added].

Throws:

Aria2Exception Thrown when an aria2 error occurs.


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