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

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

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

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>