Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/keywork/events/classes/AbstractFetchEvent.ts>AbstractFetchEvent#respondWith

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Go to Latest
method AbstractFetchEvent.prototype.respondWith
Deprecated
Deprecated

The respondWith method is only applicable to Service Workers.

import { AbstractFetchEvent } from "https://deno.land/x/keywork@v6.0.1/events/classes/AbstractFetchEvent.ts";

Intercepts the request and allows the Worker to send a custom response.

Parameters

_response: globalThis.Response