---
name: "mongoc_server_description_hello_response"
section: "3"
platform: "linux"
package: "libmongoc-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mongoc_server_description_hello_response"
---

# mongoc\_server\_description\_hello\_response(3)

## 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

2009-present, MongoDB, Inc.
