Table of Contents

Class NatsSubOpts

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll
public record NatsSubOpts : IEquatable<NatsSubOpts>
Inheritance
NatsSubOpts
Implements
Inherited Members

Properties

ChannelOpts

Allows Configuration of Channel options for a subscription.

IdleTimeout

Maximum amount of time allowed between any two subsequent messages before automatically unsubscribing.

MaxMsgs

Number of messages to wait for before automatically unsubscribing.

StartUpTimeout

Maximum amount of time allowed before the first message is received. If exceeded, subscription will be automatically unsubscribed.

StopOnEmptyMsg

If true, end the subscription upon receiving an empty message. The empty message will not be delivered to the subscription.

ThrowIfNoResponders

If true, end the subscription and throw an exception if a no responders status message is received. The no responders status message will not be delivered to the subscription.

Timeout

Amount of time to wait before automatically unsubscribing.