import * as alosaur from "https://deno.land/x/alosaur@v0.33.0/src/decorator/mod.ts";
Functions
f Area | |
f Body | Injects a Body object to the controller action parameter. Must be applied on a controller action parameter. |
Defines a class as a controller. Each decorated controller method is served as a controller action. Controller actions are executed when request come. | |
Injects a request's query parameter value to the controller action parameter. Must be applied on a controller action parameter. | |
f Ctx | Injects a context parameter value to the controller action parameter. Must be applied on a controller action parameter. |
Registers an action to be executed when Delete request comes on a given route. Must be applied on a controller action. | |
f Get | Registers an action to be executed when GET request comes on a given route. Must be applied on a controller action. |
Injects a request's route parameter value to the controller action parameter. Must be applied on a controller action parameter. | |
Registers an action to be executed when PATCH request comes on a given route. Must be applied on a controller action. | |
f Post | Registers an action to be executed when POST request comes on a given route. Must be applied on a controller action. |
f Put | Registers an action to be executed when PUT request comes on a given route. Must be applied on a controller action. |
Injects a request's query parameter value to the controller action parameter. Must be applied on a controller action parameter. | |
f Req | Injects a Request object to the controller action parameter. Must be applied on a controller action parameter. |
f Res | Injects a Response object to the controller action parameter. Must be applied on a controller action parameter. |
Registers hook an area or controller or action. |