mongoc_uri_get_tls()#

Synopsis#

bool
mongoc_uri_get_tls (const mongoc_uri_t *uri);

Parameters#

Description#

Fetches a boolean indicating if TLS was specified for use in the URI.

Returns#

Returns a boolean, true indicating that TLS should be used. This returns true if any TLS option is specified.