[]previous and next page

CachedFetchInit

The parts of RequestInit that cachedFetch accepts (no body, no credentials).

The parts of RequestInit that cachedFetch accepts (no body, no credentials).

Import#

ts
import type { CachedFetchInit } from "@shadow-js/dusk/server";

Signature#

ts
interface CachedFetchInit {
  readonly method?: string;
  readonly headers?: Readonly<Record<string, string>>;
  readonly signal?: AbortSignal;
}

Members#

Name Type Description
method? readonly method?: string
headers? readonly headers?: Readonly<Record<string, string>>
signal? readonly signal?: AbortSignal