Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Fetch.EnableRequest
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { EnableRequest } = Protocol.Fetch;

Properties

optional
patterns: RequestPattern[]

If specified, only requests matching any of these patterns will produce fetchRequested event and will be paused until clients response. If not set, all requests will be affected.

optional
handleAuthRequests: boolean

If true, authRequired events will be issued and requests will be paused expecting a call to continueWithAuth.