Skip to main content
Module

x/alosaur/mod.ts>Put

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

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

Parameters

optional
route: string

Returns

Function