Object -
nats :
Connection
Represents a NATS connection.
Constructor
__init
(string url, ConnectionConfig? config)
- url string
-
NATS Broker URL. For a clustered use case, pass the URLs as comma-separated values.
- config ConnectionConfig? ()
-
Information necessary for the NATS client to establish a connection with the server.