Class NatsHostingExtensions
- Namespace
- NATS.Extensions.Microsoft.DependencyInjection
- Assembly
- NATS.Extensions.Microsoft.DependencyInjection.dll
public static class NatsHostingExtensions
- Inheritance
-
NatsHostingExtensions
- Inherited Members
Methods
- AddNatsClient(IServiceCollection, Action<NatsBuilder>?)
Registers a NATS client on the service collection with ad hoc JSON serialization enabled by default.