Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FetchEventInit

import type { FetchEventInit } from "https://raw.githubusercontent.com/worker-tools/middleware/master/index.ts";
interface FetchEventInit extends ExtendableEventInit {
clientId?: string;
preloadResponse?: Promise<any>;
replacesClientId?: string;
request: Request;
resultingClientId?: string;
new (type: string, eventInitDict: FetchEventInit): FetchEvent;
}

§Extends

§Properties

§
clientId?: string
[src]
§
preloadResponse?: Promise<any>
[src]
§
replacesClientId?: string
[src]
§
request: Request
[src]
§
resultingClientId?: string
[src]

§Methods

§
new (type: string, eventInitDict: FetchEventInit): FetchEvent
[src]