mongoc_client_get_max_message_size
mongoc_client_get_max_message_size()
- Provided by: libmongoc-doc (Version: 1.21.0-1build1)
- Source: mongo-c-driver
- Report a bug
mongoc_client_get_max_message_size()
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.
WARNING:
The server provided max message size, or 40Mb if no connection has been established.
MongoDB, Inc
2017-present, MongoDB, Inc