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

x/evt/lib/types/index.ts>dom.Body

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.Body
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { Body } = dom;

Properties

readonly
body: ReadableStream<Uint8Array> | null
readonly
bodyUsed: boolean

Methods

arrayBuffer(): Promise<ArrayBuffer>
blob(): Promise<Blob>
formData(): Promise<FormData>
json(): Promise<any>
text(): Promise<string>