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

x/alosaur/src/decorator/mod.ts>Body

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

Injects a Body object to the controller action parameter. Must be applied on a controller action parameter. transform - may by transform function or

Parameters

optional
transform: any

Returns

Function