Namespace Savvyio.Extensions.NATS
Assembly: Savvyio.Extensions.NATS.dll
Use the Savvyio.Extensions.NATS namespace for the core NATS messaging types. It provides NatsMessage<T> as the NATS-specific message envelope and NatsMessageOptions for configuring subject, connection, and serialization settings shared by both the command queue and event bus.
These base types are used by Savvyio.Extensions.NATS.Commands and Savvyio.Extensions.NATS.EventDriven. Registering with the DI container is handled by Savvyio.Extensions.DependencyInjection.NATS.
Availability: .NET 10 and .NET 9
Classes
NatsMessage
Provides a base class for NATS message operations, supporting asynchronous disposal and message serialization.
NatsMessageOptions
Configuration options that is related to NATS.