Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
interface Protocol.Network.RequestWillBeSentExtraInfoEvent
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { RequestWillBeSentExtraInfoEvent } = Protocol.Network;

Fired when additional information about a requestWillBeSent event is available from the network stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.

Properties

requestId: RequestId

Request identifier. Used to match this information to an existing requestWillBeSent event.

associatedCookies: BlockedCookieWithReason[]

A list of cookies potentially associated to the requested URL. This includes both cookies sent with the request and the ones not sent; the latter are distinguished by having blockedReason field set.

headers: Headers

Raw request headers as they will be sent over the wire.

connectTiming: ConnectTiming

Connection timing information for the request.

optional
clientSecurityState: ClientSecurityState

The client security state set for the request.