An output mapper function that takes the output from the handler, and turns it into an HTTP response.
Request processor function that accepts an input object, processes it, and returns the result. The result can be immediate or can be a promise to allow for asynchronous processing.
Builds routes for a specific router based on delcarative route definitions.
Route definitions for the routes that need to be mounted on the router.
An optional expressjs router object on to which the routes will be mounted. If omitted, a new router will be created and used.
The configured router object, with the specified routes mounted on to it.
Generated using TypeDoc
An input mapper function that receives the request from expressjs, and maps it to an object that can be processed by the handler.
The expressjs request object.
An object that is passed to the handler function for processing.