Table of Contents

Namespace NATS.Client.Core

Classes

NKeyPair

Partial implementation of the NATS Ed25519 KeyPair. This is not complete, but provides enough functionality to implement the client side NATS 2.0 security scheme.

NKeys

NKeys is a class provided to manipulate NKeys and generate NKeyPairs.

NatsAuthOpts
NatsBufferWriter<T>

Represents a heap-based, array-backed output sink into which T data can be written.

NatsConnection
NatsConnectionPool
NatsDefaultSerializerRegistry
NatsDefaultSerializer<T>

Default serializer for NATS messages.

NatsDeserializeException
NatsEventArgs
NatsException
NatsHeaderParseException
NatsHeaderParser
NatsHeaders

Represents a wrapper for RequestHeaders and ResponseHeaders.

NatsJsonContextSerializerRegistry
NatsJsonContextSerializer<T>

Serializer with support for JsonSerializerContext.

NatsLogEvents
NatsMessageDroppedEventArgs
NatsMsgTelemetryExtensions
NatsNoReplyException
NatsNoRespondersException
NatsOpts

Immutable options for NatsConnection, you can configure via with operator.

NatsPubOpts
NatsRawSerializer<T>

Serializer for binary data.

NatsRequestExtensions
NatsRequestManyExtensions
NatsSerializerBuilder<T>

Represents a builder for creating a chain of serializers for NATS messages.

NatsServerException
NatsSubBase

The base class for NATS subscriptions.

NatsSubChannelOpts

Options For setting the FullMode and Capacity for a the Channel created for Subscriptions

NatsSubException
NatsSubOpts
NatsSub<T>
NatsTlsOpts

Immutable options for TlsOptions, you can configure via with operator. These options are ignored in WebSocket connections

NatsUtf8PrimitivesSerializer<T>

UTF8 serializer for strings and all the primitives.

NatsWebSocketOpts

Options for ClientWebSocketOptions

Nuid

Represents a unique identifier generator.

SslClientAuthenticationOptions

Structs

NatsHeaders.Enumerator

Enumerates a NatsHeaders.

NatsMemoryOwner<T>

An IMemoryOwner<T> implementation with an embedded length and a fast Span<T> accessor.

NatsMsg<T>

NATS message structure as defined by the protocol.

NatsStats

Interfaces

INatsClient
INatsConnection
INatsConnectionPool
INatsDeserialize<T>

Deserializer interface for NATS messages.

INatsMsg<T>

This interface provides an optional contract when passing messages to processing methods which is usually helpful in creating test doubles in unit testing.

INatsSerialize<T>

Serializer interface for NATS messages.

INatsSerializerRegistry
INatsSerializer<T>

Serializer interface for NATS messages.

INatsServerInfo
INatsSub<T>
INatsSubscriptionManager

Subscription manager interface.

Enums

NatsConnectionState
NatsHeaders.Messages
NatsMemoryOwnerAllocationMode

An enum that indicates a mode to use when allocating buffers.

NatsSubEndReason
TlsMode

TLS mode to use during connection.

Delegates

AsyncEventHandler

An asynchronous event handler.

AsyncEventHandler<TEventArgs>

An asynchronous event handler.