Struct NatsMsgContext
Provides message envelope metadata available during serialization and deserialization.
public readonly struct NatsMsgContext
- Inherited Members
Remarks
Use the constructor to create instances. A default(NatsMsgContext) value has a null
Subject and is not a valid context; the library never passes such a value to
user code.
Constructors
- NatsMsgContext(string, string?, INatsHeaders?)
Creates a new NatsMsgContext.
Properties
- Headers
Optional message headers. May be null if the caller did not supply headers.
- ReplyTo
Optional reply-to subject.
- Subject
Subject the message was published to.