mongoc_client_get_max_message_size(3)

mongoc_client_get_max_message_size3

Mongoc_client_get_max_message_size()

Usage

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

•

client: A mongoc_client_t.

Returns

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

Releases

4 releases since Debian 9 (Stretch); the text changed 3 times.

  1. 9
  2. 10
  3. 11
  4. 12

Author

MongoDB, Inc

From libmongoc-doc 1.23.1-1+deb12u3 in Debian 12 (Bookworm). Parsed by carta from the page's man source.