Represents a request to get the options of a download.
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
gid (string): The GID of the download.
id (string (optional, default: null)): The tracking id for the request. If this is omitted it will be generated automatically.Returns:
An Aria2Options object with the download’s options.
Throws:
Aria2Exception
Thrown when an aria2 error occurs.