DOKK / manpages / debian 11 / libmongoc-doc / mongoc_uri_get_ssl.3.en
MONGOC_URI_GET_SSL(3) libmongoc MONGOC_URI_GET_SSL(3)

mongoc_uri_get_ssl - mongoc_uri_get_ssl()

bool
mongoc_uri_get_ssl (const mongoc_uri_t *uri)

BSON_GNUC_DEPRECATED_FOR (mongoc_uri_get_tls);


WARNING:

This function is deprecated and should not be used in new code.


Please use mongoc_uri_get_tls() instead.

uri: A mongoc_uri_t.

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

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

MongoDB, Inc

2017-present, MongoDB, Inc

June 4, 2021 1.17.6