mongoc_client_set_ssl_opts()

Synopsis

void
mongoc_client_set_ssl_opts (mongoc_client_t        *client,
                            const mongoc_ssl_opt_t *opts);

Sets the SSL options to use when connecting to SSL enabled MongoDB servers.

Parameters

client

A mongoc_client_t.

opts

A mongoc_ssl_opt_t. This parameter will be copied by the client.