Creates a Floof instance.
This Floof instance's template rendering engine.
Registers a new type adapter.
The new adapter's type.
The type adapting function.
This Floof instance, for the sake of chaining.
Registers a new global afater-handler which gets run after endpoint handlers.
The newly-created after-handler.
Registers a new global before-handler which gets run before any endpoint handler.
The newly-created before-handler.
Registers a new global error handler which gets run if an error is encountered outside a floofball.
The newly-created error handler.
Starts the floof server.
The host to listen on. Defaults to '0.0.0.0'.
The port to listen on. Defaults to 8080.
A promise that resolves when the server is finished initializing.
Registers a new body parser.
The new parser's type.
The parser function.
This Floof instance, for the sake of chaining.
Generated using TypeDoc
A floof application. This is where the magic happens.