NATS Streaming .NET Client
0.1.5
The nats.io .NET Streaming C# Client
|
Inherits IDisposable.
Inherited by STAN.Client.AsyncSubscription.
Public Member Functions | |
void | Unsubscribe () |
void | Close () |
Subscription represents a subscription within the NATS Streaming cluster. Subscriptions will be rate matched and follow at-least delivery semantics.
void STAN.Client.IStanSubscription.Close | ( | ) |
Close removes this subscriber from the server, but unlike Unsubscribe(), the durable interest is not removed. If the client has connected to a server for which this feature is not available, Close() will return a ErrNoServerSupport error.
void STAN.Client.IStanSubscription.Unsubscribe | ( | ) |
Removes interest in the given subject. For durables, it means that the durable interest is also removed from the server. Restarting a durable with the same name will not resume the subscription, it will be considered a new one.