import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { RequestWillBeSentEvent } = Protocol.Network;
Fired when page is about to send HTTP request.
Properties
requestId: RequestId
Request identifier.
loaderId: LoaderId
Loader identifier. Empty string if the request is fetched from worker.
request: Request
Request data.
timestamp: MonotonicTime
Timestamp.
wallTime: TimeSinceEpoch
Timestamp.
initiator: Initiator
Request initiator.
optional
redirectResponse: ResponseRedirect response data.
optional
type: ResourceTypeType of this resource.
optional
frameId: Page.FrameIdFrame identifier.