Class TransportMessage
A message that arrived on a subscribed topic.
public sealed record TransportMessage : IEquatable<TransportMessage>
- Inheritance
-
TransportMessage
- Implements
- Inherited Members
Constructors
TransportMessage(string, byte[])
A message that arrived on a subscribed topic.
public TransportMessage(string Topic, byte[] Payload)
Parameters
Properties
Payload
The raw payload bytes.
public byte[] Payload { get; init; }
Property Value
- byte[]
Topic
The topic it was published to.
public string Topic { get; init; }