Skip to main content
Module

x/simple_utility/mod.pure.ts>FetchInit

Simplify processing for Deno.
Go to Latest
interface FetchInit
implements Omit<RequestInit, "integrity" | "window">
import { type FetchInit } from "https://deno.land/x/simple_utility@v2.0.2/mod.pure.ts";

Added query which allows you to specify query string and secret which allows you to specify secret value to RequestInit.

Properties

optional
signal: AbortSignal
optional
headers: Headers
optional
body: BodyInit
optional
query: URLSearchParams
optional
secret: { key: string; id?: undefined; pw?: undefined; } | { key?: undefined; id: string; pw: string; }