puppeteer/new-docs/puppeteer.protocol.network.requestwillbesentextrainfoevent.md
2020-07-13 14:01:35 +01:00

1.7 KiB

Home > puppeteer > Protocol > Network > RequestWillBeSentExtraInfoEvent

Protocol.Network.RequestWillBeSentExtraInfoEvent interface

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.

Signature:

export interface RequestWillBeSentExtraInfoEvent 

Properties

Property Type Description
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.
requestId RequestId Request identifier. Used to match this information to an existing requestWillBeSent event.