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

x/deno/cli/js/lib.deno.shared_globals.d.ts>Response

A modern runtime for JavaScript and TypeScript.
Go to Latest
variable Response
import { Response } from "https://deno.land/x/deno@v1.0.0/cli/js/lib.deno.shared_globals.d.ts";

type

{ prototype: Response; new (
url: string,
status: number,
statusText: string,
headersList: Array<[string, string]>,
rid: number,
redirected_: boolean,
type_?: null | ResponseType,
body_?: null | Body,
): Response; error(): Response; redirect(url: string, status?: number): Response; }