mongoc_client_get_server_description man page

mongoc_client_get_server_description() — None

Synopsis

mongoc_server_description_t *
mongoc_client_get_server_description (mongoc_client_t     *client,
                                      uint32_t             server_id);

Get information about the server specified by server_id

Parameters

client
A mongoc_client_t
server_id
An opaque id specifying the server.

Returns

A mongoc_server_description_t that must be freed with mongoc_server_description_destroy

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐10‐20 MongoDB C Driver