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

x/alosaur/src/decorator/Body.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.34.0/src/decorator/Body.ts";

Injects a Body object to the controller action parameter. Must be applied on a controller action parameter.

Parameters

optional
transform: any
optional
options: RequestBodyParseOptions

Returns

Function