NATS Streaming .NET Client  0.1.5
The nats.io .NET Streaming C# Client
STAN.Client.IStanSubscription Interface Reference

Inherits IDisposable.

Inherited by STAN.Client.AsyncSubscription.

Public Member Functions

void Unsubscribe ()
 
void Close ()
 

Detailed Description

Subscription represents a subscription within the NATS Streaming cluster. Subscriptions will be rate matched and follow at-least delivery semantics.

Member Function Documentation

◆ Close()

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.

◆ Unsubscribe()

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.


The documentation for this interface was generated from the following file: