mongoc_uri_get_ssl(3)

MONGOC_URI_GET_SSL(3) libmongoc MONGOC_URI_GET_SSL(3)

Warning:

Deprecated since version 1.15.0: Use mongoc_uri_get_tls() <> instead.



SYNOPSIS

bool
mongoc_uri_get_ssl (const mongoc_uri_t *uri);


PARAMETERS

uri: A mongoc_uri_t <>.

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 <#tls-options> is specified.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

February 10, 2026 1.30.7