const char *
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_SERVER_DESCRIPTION_TYPE(3)
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
Parameters
• description: A mongoc_server_description_t.
Synopsis
const char *
mongoc_server_description_type (const mongoc_server_description_t *description);
