class AbstractFetchEvent
implements EventInit
extends IsomorphicExtendableEvent
Abstract
import { AbstractFetchEvent } from "https://deno.land/x/keywork@v6.0.1/events/classes/AbstractFetchEvent.ts";
Constructors
new
AbstractFetchEvent(eventType?, unnamed 1: IsomorphicFetchEventInit)Properties
Methods
deprecated
passThroughOnException(): voidPrevents a runtime error response when the Worker script throws an unhandled exception.
deprecated
respondWith(_response: globalThis.Response): voidIntercepts the request and allows the Worker to send a custom response.