Table of Contents

Constructor NatsSvcServer

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

NatsSvcServer(INatsConnection, NatsSvcConfig, CancellationToken)

Creates a new instance of NatsSvcServer.

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

Parameters

nats INatsConnection

NATS connection.

config NatsSvcConfig

Service configuration.

cancellationToken CancellationToken

A CancellationToken used to cancel the service creation requests.