Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
namespace default.Fetch
import { default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { Fetch } = default;

A domain for letting clients substitute browser's network layer with client code.

Interfaces

Authorization challenge for HTTP status code 401 or 407.

Response to an AuthChallenge.

Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.

Response HTTP header entry

Issued when the domain is enabled and the request URL matches the specified filter. The request is paused until the client responds with one of continueRequest, failRequest or fulfillRequest. The stage of the request can be determined by presence of responseErrorReason and responseStatusCode -- the request is at the response stage if either of these fields is present and in the request stage otherwise.

Type Aliases

Unique request identifier.

Stages of the request to handle. Request will intercept before the request is sent. Response will intercept after the response is received (but before response body is received).