Table of Contents

Class JsonRpcResponse

Namespace
Sisk.JsonRPC
Assembly
Sisk.JsonRPC.dll

Represents an JSON-RPC response message.

public sealed class JsonRpcResponse
Inheritance
JsonRpcResponse
Inherited Members

Properties

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

CreateErrorResponse(JsonValue, JsonRpcError)

Creates an new error JsonRpcResponse with given parameters.

CreateSuccessResponse(JsonValue, JsonValue)

Creates an new success JsonRpcResponse with given parameters.