1MONGOC_URI_GET_SERVICE(3)          libmongoc         MONGOC_URI_GET_SERVICE(3)
2
3
4

NAME

6       mongoc_uri_get_service - mongoc_uri_get_service()
7

SYNOPSIS

9          const char *
10          mongoc_uri_get_service (const mongoc_uri_t *uri)
11             BSON_GNUC_DEPRECATED_FOR (mongoc_uri_get_srv_hostname);
12

PARAMETERS

14uri: A mongoc_uri_t.
15

DEPRECATED

17       This function is deprecated and should not be used in new code.
18
19       Please use mongoc_uri_get_srv_hostname() instead.
20
21       Returns the SRV host and domain name of a MongoDB URI.
22

RETURNS

24       A  string  if  this  URI's  scheme  is "mongodb+srv://", or NULL if the
25       scheme is "mongodb://".
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.23.1                           Oct 20, 2022        MONGOC_URI_GET_SERVICE(3)
Impressum