Represents a request to remove a download.
Remove(string gid, string? id = null)Removes the download denoted by gid from the download queue. If the download is in progress, it is stopped first. Returns the GID of the removed download.
https://aria2.github.io/manual/en/html/aria2c.html#aria2.remove
gid (string): The GID of the download to remove.
id (string (optional, default: null)): The tracking id for the request. If this is omitted it will be generated automatically.Returns:
The GID of the removed download.
Throws:
Aria2Exception
Thrown when an aria2 error occurs.