Provided by: libmongoc-doc_2.2.1-1_all bug

SYNOPSIS

          const mongoc_host_list_t *
          mongoc_server_description_host (const mongoc_server_description_t *description);

PARAMETERS

description: A mongoc_server_description_t <>.

DESCRIPTION

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

RETURNS

       Changed  in  version 2.0.0: The return type changed from mongoc_host_list_t * to const mongoc_host_list_t
       *.

       A reference to the server description's mongoc_host_list_t <>.

Author

       MongoDB, Inc

Copyright

       2009-present, MongoDB, Inc.

2.2.1                                             Dec 11, 2025                 MONGOC_SERVER_DESCRIPTION_HOST(3)