Optional detectJSONOptional enableOptional enableparser will only parse when request type hits enableTypes, default is ['json', 'form'].
Optional encodingrequested encoding. Default is utf-8 by co-body
Optional extendsupport extend types
Optional form?: string | string[]Optional json?: string | string[]Optional text?: string | string[]Optional formlimit of the urlencoded body. If the body ends up being larger than this limit a 413 error code is returned. Default is 56kb
Optional jsonlimit of the json body. Default is 1mb
Optional onerrorsupport custom error handle
Optional strictwhen set to true, JSON parser will only accept arrays and objects. Default is true
Optional textlimit of the text body. Default is 1mb.
Optional xmllimit of the xml body. Default is 1mb.
Generated using TypeDoc
custom json request detect function. Default is null