Deprecated since version 1.15.0: Use mongoc_uri_get_tls() instead.
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_URI_GET_SSL(3)
Description
Fetches a boolean indicating if TLS was specified for use in the URI.
Parameters
• uri: A mongoc_uri_t.
Returns
Returns a boolean, true indicating that TLS should be used. This returns true if anyTLSoption is
specified.
Synopsis
bool
mongoc_uri_get_ssl (const mongoc_uri_t *uri);
Warning:
Deprecated since version 1.15.0: Use mongoc_uri_get_tls() instead.
