A short string identifier for a type adapter type.
A function that consumes an IncomingMessage, parses the message body, and produces the result. May or may not be async.
A string of the format "/foo/bar", where the forwards slashes delimit a path from the root of a web service. You can also include parameters using colon-prefixed path elements, as in "/foo/bar/:param". Furthermore, you can define types for each parameter, as in "foo/bar/:param|int". They'll be automatically parsed and a 400 will be thrown if an invalid request is made.
A response to a request. Preferrably a Stoof or a string, but floof will try to convert any other type to an acceptable one.
An HTTP verb (or method or action or whatever you want to call it).
A short string identifier for a body parser type.
A valid HTTP status code for a redirect.
An object mapping arbitrary string keys to arbitrary values for use in rendering a template.
A function that consumes a string, parses is at some type, and produces the result. May or may not be async.
Generates a response that redirects to a URL.
The URL to redirect to.
The HTTP status code to redirect with. Defaults to 302.
This Stoof instance, for the sake of chaining.
Generated using TypeDoc
An object that's been typecasted via a body parser or type adapter. May or may not be a promise.