Table of Contents

Class NatsSvcContext

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

NATS service context.

public class NatsSvcContext : INatsSvcContext
Inheritance
NatsSvcContext
Implements
Inherited Members

Constructors

NatsSvcContext(INatsConnection)

Creates a new instance of NatsSvcContext.

Properties

Connection

Gets the associated NATS connection.

Methods

AddServiceAsync(NatsSvcConfig, CancellationToken)

Adds a new service.

AddServiceAsync(string, string, string, CancellationToken)

Adds a new service.