Sisk

Method

JsonRpcResponse.CreateSuccessResponse

Namespace
Sisk.JsonRPC
Assembly
Sisk.JsonRPC.dll

CreateSuccessResponse(JsonValue, JsonValue) #

Creates an new success JsonRpcResponse with given parameters.

C#
public static JsonRpcResponse CreateSuccessResponse(JsonValue id, JsonValue result)

Parameters #

id JsonValue

The JSON-RPC response id.

result JsonValue

The JSON-RPC response object.

Returns #

JsonRpcResponse

Type to search the documentation and the API reference.