Table of Contents

Class JsonRpcMessage

Namespace
Nerdbank.JsonRpc
Assembly
Nerdbank.JsonRpc.dll
[GenerateShape]
public abstract class JsonRpcMessage : IShapeable<JsonRpcMessage>
Inheritance
JsonRpcMessage
Implements
Derived
Inherited Members

Properties

HasId

Gets a value indicating whether an ID was supplied, including an explicit nil ID.

[PropertyShape(Ignore = true)]
public bool HasId { get; }

Property Value

bool

Id

[PropertyShape(Name = "id")]
public RequestId? Id { get; init; }

Property Value

RequestId?

Version

[PropertyShape(IsRequired = true, Name = "jsonrpc")]
public string Version { get; init; }

Property Value

string