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

x/deno/ext/fetch/lib.deno_fetch.d.ts>Response

A modern runtime for JavaScript and TypeScript.
Latest
variable Response
import { Response } from "https://deno.land/x/deno@v2.0.4/ext/fetch/lib.deno_fetch.d.ts";

This Fetch API interface represents the response to a request.

type

{ readonly prototype: Response; new (body?: BodyInit | null, init?: ResponseInit): Response; json(data: unknown, init?: ResponseInit): Response; error(): Response; redirect(url: string | URL, status?: number): Response; }