Class JsonRpcRequest
JSON-RPC request message.
Inheritance
JsonRpcRequest
Assembly: XploRe.Net.JsonRpc.dll
Syntax
public class JsonRpcRequest : JsonRpcMessage, IJsonRpcRequest, IJsonRpcMessage, IHasProtocolVersion
Constructors
Fields
Properties
Name |
Description |
Method
|
The name of the method invoked by the request.
Method names that start with "rpc." are RPC-internal and extension methods and must not be used for any
other purposes.
|
ProtocolVersion
|
The JSON-RPC version of the request.
|
Methods
Name |
Description |
NotificationWithMethod(String)
|
Creates a new JsonRpcRequest instance with the given method name and no request ID.
|
NotificationWithMethod(String, ICollection<Object>)
|
Creates a new JsonRpcRequest instance with the given method name, the provided positional
parameters and no request ID.
|
NotificationWithMethod(String, IDictionary<String, Object>)
|
Creates a new JsonRpcRequest instance with the given method name, the provided named
parameters and no request ID.
|
NotificationWithMethod(String, IEnumerable<Object>)
|
Creates a new JsonRpcRequest instance with the given method name, the provided positional
parameters and no request ID.
|
NotificationWithMethod<T>(String, T[])
|
Creates a new JsonRpcRequest instance with the given method name, the provided positional
parameters and no request ID.
|
WithMethod(String)
|
Creates a new JsonRpcRequest instance with the given method name and the next automatic
per-process sequential request ID.
|
WithMethod(String, ICollection<Object>)
|
Creates a new JsonRpcRequest instance with the given method name, the provided positional
parameters and the next automatic per-process sequential request ID.
|
WithMethod(String, ICollection<Object>, JsonRpcId)
|
Creates a new JsonRpcRequest instance with the given method name, the provided positional
parameters and the specified request ID.
|
WithMethod(String, IDictionary<String, Object>)
|
Creates a new JsonRpcRequest instance with the given method name, the provided named
parameters and the next automatic per-process sequential request ID.
|
WithMethod(String, IDictionary<String, Object>, JsonRpcId)
|
Creates a new JsonRpcRequest instance with the given method name, the provided named
parameters and the specified request ID.
|
WithMethod(String, IEnumerable<Object>)
|
Creates a new JsonRpcRequest instance with the given method name, the provided positional
parameters and the next automatic per-process sequential request ID.
|
WithMethod(String, IEnumerable<Object>, JsonRpcId)
|
Creates a new JsonRpcRequest instance with the given method name, the provided positional
parameters and the specified request ID.
|
WithMethod(String, JsonRpcId)
|
Creates a new JsonRpcRequest instance with the given method name and a specified request
ID.
|
WithMethod<T>(String, T[])
|
Creates a new JsonRpcRequest instance with the given method name, the provided positional
parameters and the next automatic per-process sequential request ID.
|
WithMethod<T>(String, T[], JsonRpcId)
|
Creates a new JsonRpcRequest instance with the given method name, the provided positional
parameters and the specified request ID.
|
See Also