pub fn add_tls_ca(tls_ca: &str, opts: ConnectOptions) -> Result<ConnectOptions>
Expand description
Adds the given CA cert to the provided async_nats::ConnectOptions
.
This follows the builder pattern in that it returns the same ConnectOptions
with TLS
configured