deno.land / x / oauth4webapi@v1.2.2 / docs / interfaces / HttpRequestOptions.md
• Optional
headers: Headers
A Headers instance to additionally send with the HTTP Request(s) triggered by this function's invocation.
• Optional
signal: AbortSignal
| () => AbortSignal
An AbortSignal instance, or a factory returning one, to abort the HTTP Request(s) triggered by this function's invocation.
example
A 5000ms timeout AbortSignal for every request
const signal = () => AbortSignal.timeout(5_000) // Note: AbortSignal.timeout may not yet be available in all runtimes.
Version Info