Struct MessageFramer.FramedMessage
Namespace: DotBoxD.Services.Protocol
Assembly: DotBoxD.Services.dll
A framed message read from a stream by DotBoxD.Services.Protocol.MessageFramer.ReadMessageAsync(System.IO.Stream,System.Threading.CancellationToken).
DotBoxD.Services.Protocol.MessageFramer.FramedMessage.Body is the message body only; the caller owns it and must dispose it.
public readonly record struct MessageFramer.FramedMessage : IEquatable<MessageFramer.FramedMessage>Implements
Section titled “Implements”IEquatable<MessageFramer.FramedMessage>
Inherited Members
Section titled “Inherited Members”object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object, object), object.ToString()
Constructors
Section titled “Constructors”FramedMessage(int, MessageType, Payload)
Section titled “ FramedMessage(int, MessageType, Payload)”A framed message read from a stream by DotBoxD.Services.Protocol.MessageFramer.ReadMessageAsync(System.IO.Stream,System.Threading.CancellationToken).
DotBoxD.Services.Protocol.MessageFramer.FramedMessage.Body is the message body only; the caller owns it and must dispose it.
public FramedMessage(int MessageId, MessageType Type, Payload Body)Parameters
Section titled “Parameters”MessageId int
Type MessageType
Body Payload
Properties
Section titled “Properties”public Payload Body { get; init; }Property Value
Section titled “Property Value”MessageId
Section titled “ MessageId”public int MessageId { get; init; }Property Value
Section titled “Property Value”public MessageType Type { get; init; }