Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Network.RequestWillBeSentExtraInfoEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
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.