Represents a request to get the session information of the aria2 client.
GetSessionInfo(string? id = null)Returns session information of the current aria2 session, including the session ID.
https://aria2.github.io/manual/en/html/aria2c.html#aria2.getSessionInfo
id (string (optional, default: null)): The tracking id for the request. If this is omitted it will be generated automatically.Returns:
An Aria2SessionInfo object with session information.
Throws:
Aria2Exception
Thrown when an aria2 error occurs.