Represents a request to get the global statistics of the aria2 client.
GetGlobalStat(string? id = null)Returns global statistics for the aria2 session. The returned struct includes overall download/upload speeds and counts of active, waiting, and stopped downloads.
https://aria2.github.io/manual/en/html/aria2c.html#aria2.getGlobalStat
id (string (optional, default: null)): The tracking id for the request. If this is omitted it will be generated automatically.Returns:
An Aria2GlobalStat object with global statistics.
Throws:
Aria2Exception
Thrown when an aria2 error occurs.