Table of Contents

Constructor NatsClient

Namespace
NATS.Client
Assembly
NATS.Client.dll

NatsClient(string, string, string?)

Initializes a new instance of the NatsClient class.

public NatsClient(string url = "nats://localhost:4222", string name = "NATS .NET Client", string? credsFile = null)

Parameters

url string

NATS server URL

name string

Client name

credsFile string

Credentials filepath