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
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; }