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

x/deno/cli/js/request.ts>Request

A modern runtime for JavaScript and TypeScript.
Go to Latest
class Request
implements [domTypes.Request]
import { Request } from "https://deno.land/x/deno@v0.28.0/cli/js/request.ts";

An HTTP request

Constructors

new
Request(input: domTypes.RequestInfo, init?: domTypes.RequestInit)

Properties

optional
credentials: "omit" | "same-origin" | "include"
headers: domTypes.Headers
method: string
url: string

Methods

clone(): domTypes.Request