DOKK / manpages / debian 13 / libmongoc-doc / mongoc_uri_get_tls.3.en
MONGOC_URI_GET_TLS(3) libmongoc MONGOC_URI_GET_TLS(3)

bool
mongoc_uri_get_tls (const mongoc_uri_t *uri);


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

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4