20 #include <bsoncxx/stdx/optional.hpp>
21 #include <mongocxx/options/ssl.hpp>
22 #include <mongocxx/stdx.hpp>
23 #include <mongocxx/uri.hpp>
25 #include <mongocxx/config/prelude.hpp>
28 MONGOCXX_INLINE_NAMESPACE_BEGIN
63 stdx::optional<options::ssl> ssl_options = stdx::nullopt);
76 using entry = std::unique_ptr<client, std::function<void MONGOCXX_CALL(client*)>>;
88 stdx::optional<entry> try_acquire();
93 class MONGOCXX_PRIVATE impl;
94 const std::unique_ptr<impl> _impl;
97 MONGOCXX_INLINE_NAMESPACE_END
100 #include <mongocxx/config/postlude.hpp>
Class representing a MongoDB connection string URI.
Definition: uri.hpp:40
Definition: bulk_write.hpp:22
Class representing a client connection to MongoDB.
Definition: client.hpp:49
A pool of client objects associated with a MongoDB deployment.
Definition: pool.hpp:49
std::unique_ptr< client, std::function< void(client *)>> entry
An entry is a handle on a client object acquired via the pool.
Definition: pool.hpp:76