|  | Home | Libraries | People | FAQ | More | 
Set the limit on the payload body.
void body_limit( std::uint64_t v);
This function sets the maximum allowed size of the payload body, before any encodings except chunked have been removed. Depending on the message semantics, one of these cases will apply:
http::body_limit is returned immediately
              after the header is parsed.
            http::body_limit
            http::body_limit.
            Setting the limit after any body octets have been parsed results in undefined behavior. The default limit is 1MB for requests and 8MB for responses.
| Name | Description | 
|---|---|
| 
                     | The payload body limit to set |