table of contents
MONGOC_CLIENT_GET_MAX_MESSAGE_SIZE(3) | Library Functions Manual | MONGOC_CLIENT_GET_MAX_MESSAGE_SIZE(3) |
NAME¶
mongoc_client_get_max_message_size() - NoneSYNOPSIS¶
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¶
NOTEThis 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.2016‐10‐12 | MongoDB C Driver |