Table of Contents

Constructor NatsSvcServer

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

NatsSvcServer(NatsConnection, NatsSvcConfig, CancellationToken)

Creates a new instance of NatsSvcServer.

public NatsSvcServer(NatsConnection nats, NatsSvcConfig config, CancellationToken cancellationToken)

Parameters

nats NatsConnection

NATS connection.

config NatsSvcConfig

Service configuration.

cancellationToken CancellationToken

A CancellationToken used to cancel the service creation requests.