Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Author

       MongoDB, Inc

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_tls (const mongoc_uri_t *uri);

See Also