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

x/oak/body.ts>Body#init

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
method Body.prototype.init
import { Body } from "https://deno.land/x/oak@v17.1.2/body.ts";

Return the body to be reused as BodyInit.

Returns

Promise<BodyInit | null>