Class RequestWillBeSentEventArgs
Fired when page is about to send HTTP request.
public sealed class RequestWillBeSentEventArgs : EventArgs
- Inheritance
-
RequestWillBeSentEventArgs
- Inherited Members
Properties
DocumentURL
URL of the document this request is loaded for.
[JsonPropertyName("documentURL")]
public string DocumentURL { get; set; }
Property Value
FrameId
Frame identifier.
[JsonPropertyName("frameId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? FrameId { get; set; }
Property Value
HasUserGesture
Whether the request is initiated by a user gesture. Defaults to false.
[JsonPropertyName("hasUserGesture")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? HasUserGesture { get; set; }
Property Value
- bool?
Initiator
Request initiator.
[JsonPropertyName("initiator")]
public Initiator Initiator { get; set; }
Property Value
LoaderId
Loader identifier. Empty string if the request is fetched from worker.
[JsonPropertyName("loaderId")]
public string LoaderId { get; set; }
Property Value
RedirectHasExtraInfo
In the case that redirectResponse is populated, this flag indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for the request which was just redirected.
[JsonPropertyName("redirectHasExtraInfo")]
public bool RedirectHasExtraInfo { get; set; }
Property Value
RedirectResponse
Redirect response data.
[JsonPropertyName("redirectResponse")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Response? RedirectResponse { get; set; }
Property Value
RenderBlockingBehavior
The render-blocking behavior of the request.
[JsonPropertyName("renderBlockingBehavior")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RenderBlockingBehavior? RenderBlockingBehavior { get; set; }
Property Value
Request
Request data.
[JsonPropertyName("request")]
public Request Request { get; set; }
Property Value
RequestId
Request identifier.
[JsonPropertyName("requestId")]
public string RequestId { get; set; }
Property Value
Timestamp
Timestamp.
[JsonPropertyName("timestamp")]
public double Timestamp { get; set; }
Property Value
Type
Type of this resource.
[JsonPropertyName("type")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ResourceType? Type { get; set; }
Property Value
WallTime
Timestamp.
[JsonPropertyName("wallTime")]
public double WallTime { get; set; }