Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Fetch

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
namespace Protocol.Fetch
import { Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { Fetch } = Protocol;

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).