The WebSocket URL of the Juju controller or model.
Optional
options: ConnectOptionsConnections options, including:
Optional
callback: Callback<Client>Called when the connection is made, the callback receives an error and a client object. If there are no errors, the client can be used to login and logout to Juju. See the docstring for the Client class for information on how to use the client.
Generated using TypeDoc
Connect to the Juju controller or model at the given URL.
Returns
This promise will be rejected if there is an error connecting, or resolved with a new Client instance. Note that the promise will not be resolved or rejected if a callback is provided.