const char * mongoc_uri_get_replica_set (const mongoc_uri_t *uri);
uri
Fetches the replicaSet parameter of an URI.
replicaSet
Returns a string which should not be modified or freed.