Default max size for a request body = -1
means unlimited
Default value of whether uploaded files should be removed after handling the request
Default value of whether form attributes should be merged into request params
Default value of whether to pre-allocate the body buffer size according to the content-length HTTP request header
Default uploads directory on server for file uploads
Set the maximum body size in bytes, -1
means no limit
Set whether uploaded files should be removed after handling the request
Set whether file uploads will be handled
Set whether form attributes will be added to the request parameters
Pre-allocate the body buffer according to the value parsed from content-length header. The buffer is capped at 64KB
Set the uploads directory to use
Create a body handler with defaults
Create a body handler setting if it should handle file uploads
Create a body handler and use the given upload directory.
Generated using TypeDoc
A handler which gathers the entire request body and sets it on the .
It also handles HTTP file uploads and can be used to limit body sizes.