BodyParserOptions
Index
Properties
optionaldetectJSON
optionalenable
optionalenableTypes
optionalencoding
requested encoding. Default is utf-8 by co-body
optionalextendTypes
support extend types
optionalformLimit
limit of the urlencoded body. If the body ends up being larger than this limit a 413 error code is returned. Default is 56kb
optionaljsonLimit
limit of the json body. Default is 1mb
optionalonerror
optionalstrict
when set to true, JSON parser will only accept arrays and objects. Default is true
optionaltextLimit
limit of the text body. Default is 1mb.
optionalxmlLimit
limit of the xml body. Default is 1mb.
parser will only parse when request type hits enableTypes, default is [‘json’, ‘form’].