mongoc_server_description_host - Man Page

Synopsis

mongoc_host_list_t *
mongoc_server_description_host (const mongoc_server_description_t *description);

Parameters

Description

Return the server's host and port. This object is owned by the server description.

Returns

A reference to the server description's mongoc_host_list_t, which you must not modify or free.

Author

MongoDB, Inc

Info

Apr 03, 2024 1.26.2 libmongoc