Error wrappers and boilerplate
A handy macro borrowed from the
The main entry point for your application to consume NATS services. This client manages connections, connection retries, adjusts to new servers as they enter the cluster, and much more.
Options to configure the NATS client. A builder is available so a fluent API can be used to set options
Represents a message as per the NATS protocol documentation:
Indicates the type of client authentication used by the NATS client