Constructor JsonRpcResponse
JsonRpcResponse(JsonRpcId, JsonRpcError, Object)
Declaration
public JsonRpcResponse(JsonRpcId id, JsonRpcError error, object result)
Parameters
Type |
Name |
Description |
JsonRpcId |
id |
The JSON-RPC ID of the response. |
JsonRpcError |
error |
The JSON-RPC response error object if an error occurred during the request. |
Object |
result |
The JSON-RPC response result object if the request succeeded. |
Exceptions
JsonRpcResponse(JsonRpcId, String, JsonRpcError, Object)
Declaration
public JsonRpcResponse(JsonRpcId id, string protocolVersion, JsonRpcError error, object result)
Parameters
Type |
Name |
Description |
JsonRpcId |
id |
The JSON-RPC ID of the response. |
String |
protocolVersion |
The JSON-RPC version of the response. |
JsonRpcError |
error |
The JSON-RPC response error object if an error occurred during the request. |
Object |
result |
The JSON-RPC response result object if the request succeeded. |
Exceptions