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
Go to Latest
function Body
import { Body } from "https://deno.land/x/alosaur@v0.31.1/src/decorator/mod.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