Skip to main content
Module

x/astral/bindings/celestial.ts>Fetch_requestPaused

A high-level puppeteer/playwright-like library for Deno
Go to Latest
interface Fetch_requestPaused
import { type Fetch_requestPaused } from "https://deno.land/x/astral@0.3.1/bindings/celestial.ts";

Properties

requestId: Fetch_RequestId

Each request the page makes will have a unique id.

The details of the request.

frameId: Page_FrameId

The id of the frame that initiated the request.

resourceType: Network_ResourceType

How the requested resource will be used.

optional
responseErrorReason: Network_ErrorReason

Response error if intercepted at response stage.

optional
responseStatusCode: number

Response code if intercepted at response stage.

optional
responseStatusText: string

Response status text if intercepted at response stage.

optional
responseHeaders: Fetch_HeaderEntry[]

Response headers if intercepted at the response stage.

optional
networkId: Network_RequestId

If the intercepted request had a corresponding Network.requestWillBeSent event fired for it, then this networkId will be the same as the requestId present in the requestWillBeSent event.

optional
redirectedRequestId: Fetch_RequestId