Table of Contents

Constructor NatsJSContext

Namespace
NATS.Client.JetStream
Assembly
NATS.Client.JetStream.dll

NatsJSContext(INatsConnection)

Creates a NATS JetStream context used to manage and access streams and consumers.

public NatsJSContext(INatsConnection connection)

Parameters

connection INatsConnection

A NATS server connection NatsConnection to access the JetStream APIs, publishers and consumers.

NatsJSContext(INatsConnection, NatsJSOpts)

Creates a NATS JetStream context used to manage and access streams and consumers.

public NatsJSContext(INatsConnection connection, NatsJSOpts opts)

Parameters

connection INatsConnection

A NATS server connection NatsConnection to access the JetStream APIs, publishers and consumers.

opts NatsJSOpts

Context wide NatsJSOpts JetStream options.