Class
JsonRpcResponse
Represents an JSON-RPC response message.
public sealed class JsonRpcResponseInheritance #
Inherited Members #
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties #
| Name | Description |
|---|---|
| Error | Gets the JSON-RPC response error. |
| Id | Gets the JSON-RPC response id. |
| Result | Gets the JSON-RPC response result. |
| Version | Gets the JSON-RPC response version. This property will always return “2.0”. |
Methods #
| Name | Description |
|---|---|
| CreateErrorResponse(JsonValue, JsonRpcError) | Creates an new error JsonRpcResponse with given parameters. |
| CreateSuccessResponse(JsonValue, JsonValue) | Creates an new success JsonRpcResponse with given parameters. |