Aria2.JsonRpcClient

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

GetOption

Overview

Represents a request to get the options of a download.


Constructors

GetOption(string gid, string? id = null)

Returns the options of the download denoted by gid as a struct. Only options that have been set or have defaults are returned.

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

Parameters:

Returns:

An Aria2Options object with the download’s options.

Throws:

Aria2Exception Thrown when an aria2 error occurs.


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