Skip to content
Meshline
SDK 1.1.0 · TypeView source on GitHub

Developer guide · API index

Members on this page

Meshline.Sdk

Meshline.Models.Protocol

RpcSuccess Class

Represents a successful JSON-RPC response with a possibly null result.

public sealed record RpcSuccess : Meshline.Models.Protocol.RpcResponse, System.IEquatable<Meshline.Models.Protocol.RpcSuccess>

Inheritance System.Object → ProtocolModel → RpcResponse → RpcSuccess

Implements System.IEquatable<RpcSuccess>

Properties

RpcSuccess.Id Property

The identifier of the request completed by this response.

public string Id { get; init; }

Property Value

System.String

RpcSuccess.Result Property

The JSON-RPC result, including an explicitly null result; JSON values are cloned on assignment.

public System.Nullable<System.Text.Json.JsonElement> Result { get; init; }

Property Value

System.Nullable<System.Text.Json.JsonElement>