Class JsonRpcMessage
Base class for JSON-RPC messages.
Implements
Namespace: XploRe.Net.JsonRpc
Assembly: XploRe.Net.JsonRpc.dll
Syntax
public abstract class JsonRpcMessage : Object, IJsonRpcMessage
Constructors
Name | Description |
---|---|
JsonRpcMessage(JsonRpcId) | Initialises a new JSON-RPC message instance with a given ID. |
Fields
Name | Description |
---|---|
IdJsonPropertyName | JSON-RPC payload property name of the Id property. |
Properties
Name | Description |
---|---|
Id |
Methods
Name | Description |
---|---|
ShouldSerializeId() | Controls serialisation of the Id property. The ID is omitted in the payload for notification messages. |