Module

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

Alosaur - Deno web framework with many decorators
Go to Latest
function Patch
import { Patch } from "https://dotland.deno.dev/x/alosaur@v0.35.0/src/decorator/Patch.ts";

Registers an action to be executed when PATCH 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 PATCH request comes on a given route. Must be applied on a controller action.

Parameters

optional
route: string

Returns

Function