import * as dactyl from "https://deno.land/x/dactyl@v0.1.0-alpha/example/deps.ts";
Classes
Bootstrap class responsible for registering controllers onto Router, and starting the Oak webserver | |
General purpose HttpException export class, can be raised at any stage of the request lifecycle, resulting in oak appropriately handling the error. Expected JSON payload is: | |
An interface which provides information about the current request. The
instance related to the current request is available on the
| |
An interface to control what response will be sent when the middleware finishes processing the request. |
Functions
f Body | Parameter decorator - maps |
Parameter decorator - maps whole | |
Controller Class decorator responsible for initialising metadata on the controller class.
Defines the | |
Method decorator function for mapping Delete requests. | |
f Get | Method decorator function for mapping Get requests. |
Parameter decorator - maps | |
HttpStatus MethodDecorator specifies the default response code of a given controller action, E.g. | |
Parameter decorator - maps | |
Method decorator function for mapping Patch requests. | |
f Post | Method decorator function for mapping Post requests. |
f Put | Method decorator function for mapping Put requests. |
Parameter decorator - maps | |
Parameter decorator - maps | |
Parameter decorator - maps |
Interfaces
The context passed router middleware. |