FormBodyParser Class
Parser for incoming form bodies. The parser handles application/x-www-form-urlencoded and multipart/form-data encoded data. Any uploaded files are stored locally and a descriptor object is passed as the parsed result.
Constructor
FormBodyParser
()
Item Index
Methods
Methods
getRawData
(
-
cb
Retrieves the raw payload data as a string
Parameters:
-
cbFunction
parse
(
-
The -
A
Attempts to parse the request body as multi-part or form/url encoded content
Parameters:
-
TheRequestincoming request whose payload should be parsed
-
AFunctioncallback that taks two parameters: An Error, if occurred and the parsed body content as an object
