mongoc_client_get_max_message_size man page

mongoc_client_get_max_message_size ā€” mongoc_client_get_max_message_size()

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.

Deprecated

WARNING:

This function is deprecated and should not be used in new code.

Parameters

Returns

The server provided max message size, or 40Mb if no connection has been established.

Author

MongoDB, Inc

Info

Aug 10, 2017 1.7.0 MongoDB C Driver