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

Properties

optional
urlPattern: string

Wildcards ('' -> zero or more, '?' -> exactly one) are allowed. Escape character is backslash. Omitting is equivalent to "".

optional
resourceType: Network.ResourceType

If set, only requests for matching resource types will be intercepted.

optional
requestStage: RequestStage

Stage at wich to begin intercepting requests. Default is Request.