mongoc_client_get_max_message_size - mongoc_client_get_max_message_size()
Contents
Copyright
2017-present, MongoDB, Inc
1.21.0 Feb 09, 2022 MONGOC_CLIENT_GET_MAX_MESSAGE_SIZE(3)
Deprecated
WARNING:
This function is deprecated and should not be used in new code.
Name
mongoc_client_get_max_message_size - mongoc_client_get_max_message_size()
Parameters
• client: A mongoc_client_t.
Returns
The server provided max message size, or 40Mb if no connection has been established.
Synopsis
int32_t
mongoc_client_get_max_message_size (mongoc_client_t *client);
The mongoc_client_get_max_message_size() returns the maximum message size allowed by the cluster. Until a
connection has been made, this will be the default of 40Mb.
