Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alosaur/src/decorator/Delete.ts>Delete

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
function Delete
import { Delete } from "https://deno.land/x/alosaur@v0.35.2/src/decorator/Delete.ts";

Registers an action to be executed when Delete request comes on a given route. Must be applied on a controller action.

Parameters

optional
route: RegExp

Returns

Function

Registers an action to be executed when Delete request comes on a given route. Must be applied on a controller action.

Parameters

optional
route: string

Returns

Function