138#include <mongocxx/v1/detail/postlude.hpp>
bsoncxx::v1::stdx::optional< std::int64_t > round_trip_time() const
Return the client-measured execution time of the "hello" command.
server_description(server_description &&other) noexcept
Move constructor.
std::uint16_t port() const
Return the port number for the connection used by the command.
~server_description()
Destroy this object.
bsoncxx::v1::stdx::string_view host() const
Return the hostname for the connection used by the command.
bsoncxx::v1::stdx::string_view type() const
Return the topology type.
bsoncxx::v1::document::view hello() const
Return the raw server response to the "hello" command.
Provides macros to control the set of symbols exported in the ABI.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v1 macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities describing APM events.
Declares entities whose ABI stability is guaranteed for documented symbols.
The top-level namespace within which all mongocxx library entities are declared.
Declares bsoncxx::v1::document::view.
Declares mongocxx::v1::events::server_description.
Provides std::optional-related polyfills for library API usage.
Provides std::string_view-related polyfills for library API usage.