Sisk

Class

JsonRpcResponse

Namespace
Sisk.JsonRPC
Assembly
Sisk.JsonRPC.dll

Represents an JSON-RPC response message.

C#
public sealed class JsonRpcResponse

Inheritance #

object ← JsonRpcResponse

Inherited Members #

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties #

NameDescription
ErrorGets the JSON-RPC response error.
IdGets the JSON-RPC response id.
ResultGets the JSON-RPC response result.
VersionGets the JSON-RPC response version. This property will always return “2.0”.

Methods #

NameDescription
CreateErrorResponse(JsonValue, JsonRpcError)Creates an new error JsonRpcResponse with given parameters.
CreateSuccessResponse(JsonValue, JsonValue)Creates an new success JsonRpcResponse with given parameters.

Type to search the documentation and the API reference.