Table of Contents

Interface INatsSvcServer

Namespace
NATS.Client.Services
Assembly
NATS.Client.Services.dll

NATS Services interface.

public interface INatsSvcServer : IAsyncDisposable
Inherited Members

Methods

AddEndpointAsync<T>(Func<NatsSvcMsg<T>, ValueTask>, string?, string?, string?, IDictionary<string, string>?, INatsDeserialize<T>?, CancellationToken)

Adds a new endpoint.

AddGroupAsync(string, string?, CancellationToken)

Adds a new service group with optional queue group.

GetInfo()

Get current info for the service.

GetStats()

Get current stats for the service.

StopAsync(CancellationToken)

Stop the service.