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

x/oak_nest/deps.ts>Request#body

Refer to nestjs to realize some common functions for Deno
Go to Latest
method Request.prototype.body
import { Request } from "https://deno.land/x/oak_nest@v1.15.1/deps.ts";

Parameters

options: BodyOptions<"bytes">

Returns

BodyBytes

Parameters

options: BodyOptions<"form">

Returns

BodyForm

Parameters

options: BodyOptions<"form-data">

Returns

BodyFormData

Parameters

options: BodyOptions<"json">

Returns

BodyJson

Parameters

options: BodyOptions<"reader">

Returns

BodyReader

Parameters

options: BodyOptions<"stream">

Returns

BodyStream

Parameters

options: BodyOptions<"text">

Returns

BodyText

Parameters

optional
options: BodyOptions