Skip to content

Class JsonRpcSuccessResponse

Namespace: Cephalon.Behaviors.Http.Bindings
Assembly: Cephalon.Behaviors.Http.dll

Represents a successful JSON-RPC 2.0 response envelope.

public sealed class JsonRpcSuccessResponse

objectJsonRpcSuccessResponse

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

Gets or sets the echoed request identifier.

[JsonPropertyName("id")]
public JsonElement? Id { get; set; }

JsonElement?

Gets or sets the JSON-RPC version (always “2.0”).

[JsonPropertyName("jsonrpc")]
public string Jsonrpc { get; set; }

string

Gets or sets the result payload.

[JsonPropertyName("result")]
public object? Result { get; set; }

object?