Function setClientMaxBodySize

Synopsis

#include <lib/inc/drogon/HttpAppFramework.h>

virtual HttpAppFramework & setClientMaxBodySize(size_t maxSize)=0

Description

Set the max body size of the requests received by drogon.

The default value is 1M.

Note
This operation can be performed by an option in the configuration file.

Source

Line 998 in lib/inc/drogon/HttpAppFramework.h.






Add Discussion as Guest

Log in to DocsForge