Skip to main content
The Deno 2 Release Candidate is 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.30.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