Class NatsMsgBuilder<T>
Builder class for creating NatsMsg<T>
public class NatsMsgBuilder<T>
Type Parameters
T
- Inheritance
-
NatsMsgBuilder<T>
- Inherited Members
Properties
- Connection
NATS connection this message is associated to.
- Data
Gets or sets the message payload.
- Encoding
Encoding used. Default to utf8 if not provided
- Flags
Message flags to indicate no responders and empty payloads.
- Headers
Pass additional information using name-value pairs.
- Msg
Builds and returns the NatsMsg<T> instance.
- ReplyTo
The reply subject that subscribers can use to send a response back to the publisher/requester.
- SerializationBufferSize
The serializer buffer size
- Serializer
Serializer to use for the calculate data size.
- Subject
The destination subject to publish to.