Properties
bodyParser
bodyParser: ((options?) => Handler) json
Type declaration
- (options?): Handler
Parameters
- options: JsonParserOptions = {}
text
Type declaration
- (options?): Handler
Parameters
- options: TextParserOptions = {}
urlencoded
urlencoded: ((options?) => Handler) Type declaration
- (options?): Handler
Parameters
- options: UrlencodedParserOptions = {}
Factory function users import.
Example usage:
Middleware helpers (
json
,urlencoded
,text
,bodyParser
) are available as static properties mirroring Express' API.