Interface INatsSvcServer
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.