API Docs for: 0.8.0
Show:

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:

  • cb Function

parse

(
  • The
  • A
)

Inherited from BaseBodyParser but overwritten in include/http/parsers/index.js:136

Attempts to parse the request body as multi-part or form/url encoded content

Parameters:

  • The Request

    incoming request whose payload should be parsed

  • A Function

    callback that taks two parameters: An Error, if occurred and the parsed body content as an object