mongoc_uri_get_string(3) Fetches the URI as a string.

SYNOPSIS


const char *
mongoc_uri_get_string (const mongoc_uri_t *uri);

PARAMETERS

uri
A mongoc_uri_t \&.

DESCRIPTION

Fetches the URI as a string.

RETURNS

Returns a string which should not be modified or freed.

COLOPHON

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