Aria2.JsonRpcClient

Aria2.JsonRpcClient Documentation - Home | Client | Requests | Models | Examples

JsonRpcRequest abstract


Overview

An abstract Json RPC request. Inherit from this to add addtional aria2 requests.


Constructors

JsonRpcRequest(string method, JsonRpcParameters parameters, string? id = null)

Initializes a new instance of the JsonRpcRequest class.

Parameters:


Properties

string JsonRpc

The JSON-RPC version - for Aira2, this is always “2.0”.

JSON key: jsonrpc

string Method

The name of the method to be called.

JSON key: method

JsonRpcParameters Parameters

The parameters to be passed to the method.

JSON key: params

string Id

The id of the request.

JSON key: id

System.Type ReturnType

The type of the return value. This will always be typeof(void).


Top
© lantean-code - Generated on 2025-04-02