abstractAn abstract Json RPC request. Inherit from this to add addtional aria2 requests.
JsonRpcRequest(string method, JsonRpcParameters parameters, string? id = null)Initializes a new instance of the JsonRpcRequest class.
method (string): The name of the method to be called.
parameters (JsonRpcParameters): The parameters to be passed to the method.
id (string (optional, default: null)): The id of the request.string JsonRpcThe JSON-RPC version - for Aira2, this is always “2.0”.
JSON key:
jsonrpc
string MethodThe name of the method to be called.
JSON key:
method
JsonRpcParameters ParametersThe parameters to be passed to the method.
JSON key:
params
string IdThe id of the request.
JSON key:
id
System.Type ReturnTypeThe type of the return value. This will always be typeof(void).