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

x/oauth4webapi/mod.ts>HttpRequestOptions

Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
Latest
interface HttpRequestOptions
import { type HttpRequestOptions } from "https://deno.land/x/oauth4webapi@v2.17.0/mod.ts";

Properties

optional
signal: (() => AbortSignal) | AbortSignal

An AbortSignal instance, or a factory returning one, to abort the HTTP request(s) triggered by this function's invocation.

optional
headers: [string, string][] | Record<string, string> | Headers

Headers to additionally send with the HTTP request(s) triggered by this function's invocation.

optional
[customFetch]: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>