mongoc_stream_tls_new3
Creates a new mongoc_stream_tls_t using the parameters supplied.
Usage
mongoc_stream_t *
mongoc_stream_tls_new (mongoc_stream_t *base_stream,
mongoc_ssl_opt_t *opt,
int client);
Parameters
|
A |
|---|---|
|
A |
|
1 for client, 0 for server TLS. |
Creates a new mongoc_stream_tls_t using the parameters supplied.
Returns
A newly allocated mongoc_stream_tls_t