Skip to main content
Module

x/oak/body.ts>Body

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
type alias Body
import { type Body } from "https://deno.land/x/oak@v11.1.0/body.ts";

The type returned from the .body() function, which is a tagged union type of all the different types of bodies which can be identified by the .type property which will be of type BodyType and the .value property being a Promise which resolves with the appropriate value, or undefined if there is no body.