mongoc_client_get_max_message_size man page

mongoc_client_get_max_message_size() — None

Synopsis

int32_t
mongoc_client_get_max_message_size (mongoc_client_t *client);

The mongoc_client_get_max_message_size(3) returns the maximum message size allowed by the cluster. Until a connection has been made, this will be the default of 40Mb.

Deprecated

NOTE

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.

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐10‐19 MongoDB C Driver