mongoc_server_description_type - Man Page
mongoc_server_description_type()
Synopsis
const char * mongoc_server_description_type (const mongoc_server_description_t *description);
Parameters
- description: A mongoc_server_description_t.
Description
This function returns a string, one of the server types defined in the Server Discovery And Monitoring Spec:
- Standalone
- Mongos
- PossiblePrimary
- LoadBalancer
- RSPrimary
- RSSecondary
- RSArbiter
- RSOther
- RSGhost
- Unknown
Author
MongoDB, Inc
Copyright
2017-present, MongoDB, Inc
Info
Jan 19, 2023 1.23.2 libmongoc