Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/gauntlet/imports/happy_dom.ts>IResponse

Work-in-progress front-end tool which does put a smile on my face
Latest
interface IResponse
Re-export
import { type IResponse } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";

Fetch response.

Properties

readonly
url: string
readonly
status: number
readonly
ok: boolean
readonly
redirected: boolean
readonly
statusText: string
readonly
headers: { [k: string]: string; }

Methods

json(): Promise<string>

Returns JSON.

text(): Promise<string>

Returns Text.

blob(): Promise<Blob>

Returns blob.