Aria2.JsonRpcClient

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

ChangePosition

Overview

Represents a request to change the position of a download.


Constructors

ChangePosition(string gid, int pos, string how, string? id = null)

Changes the position of the download denoted by gid in the queue.pos is an integer, and how specifies the mode: ‘POS_SET’, ‘POS_CUR’, or ‘POS_END’. Returns the new position as an integer.

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

Parameters:

Returns:

The new position.

Throws:

Aria2Exception Thrown when an aria2 error occurs.


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