Represents a request to pause a download.
Pause(string gid, string? id = null)Pauses the download denoted by gid. Returns the GID of the paused download.
https://aria2.github.io/manual/en/html/aria2c.html#aria2.pause
gid (string): The GID of the download to pause.
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 paused download.
Throws:
Aria2Exception
Thrown when an aria2 error occurs.