Network.requestWillBeSent

Fired when page is about to send HTTP request.

{
  "name": "requestWillBeSent",
  "description": "Fired when page is about to send HTTP request.",
  "parameters": [
    {
      "name": "requestId",
      "$ref": "RequestId",
      "description": "Request identifier."
    },
    {
      "name": "frameId",
      "$ref": "FrameId",
      "description": "Frame identifier."
    },
    {
      "name": "loaderId",
      "$ref": "LoaderId",
      "description": "Loader identifier."
    },
    {
      "name": "documentURL",
      "type": "string",
      "description": "URL of the document this request is loaded for."
    },
    {
      "name": "request",
      "$ref": "Request",
      "description": "Request data."
    },
    {
      "name": "timestamp",
      "$ref": "Timestamp",
      "description": "Timestamp."
    },
    {
      "name": "initiator",
      "$ref": "Initiator",
      "description": "Request initiator."
    },
    {
      "name": "redirectResponse",
      "optional": true,
      "$ref": "Response",
      "description": "Redirect response data."
    },
    {
      "name": "type",
      "$ref": "Page.ResourceType",
      "optional": true,
      "description": "Resource type."
    }
  ]
}