Table of Contents

Enum JsonRpcMessagePackFraming

Namespace
Nerdbank.JsonRpc
Assembly
Nerdbank.JsonRpc.dll

Defines the framing of MessagePack-encoded JSON-RPC messages.

public enum JsonRpcMessagePackFraming

Fields

BigEndianInt32LengthHeader = 1

Each message is preceded by its length in bytes, encoded as a 4-byte big-endian unsigned integer. This is compatible with StreamJsonRpc's LengthHeaderMessageHandler.

SelfDelimiting = 0

Each message is a single self-delimiting MessagePack structure with no header. The receiver must scan each structure to find where it ends before deserializing it.