Provided by: libmongoc-doc_1.21.0-1build1_all bug

NAME

       mongoc_server_description_hello_response - mongoc_server_description_hello_response()

SYNOPSIS

          const bson_t *
          mongoc_server_description_hello_response (
             const mongoc_server_description_t *description);

PARAMETERS

description: A mongoc_server_description_t.

DESCRIPTION

       The  client  or client pool periodically runs a "hello" command on each server, to update its view of the
       MongoDB          deployment.          Use           mongoc_client_get_server_descriptions()           and
       mongoc_server_description_hello_response() to get the most recent "hello" response.

RETURNS

       A  reference  to a BSON document, owned by the server description. The document is empty if the driver is
       not connected to the server.

AUTHOR

       MongoDB, Inc

COPYRIGHT

       2017-present, MongoDB, Inc

1.21.0                                            Feb 09, 2022       MONGOC_SERVER_DESCRIPTION_HELLO_RESPONSE(3)