Class RequestWillBeSentExtraInfoEventArgs
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.
public sealed record RequestWillBeSentExtraInfoEventArgs : EventArgs, IEquatable<EventArgs>, IEquatable<RequestWillBeSentExtraInfoEventArgs>
- Inheritance
-
EventArgsRequestWillBeSentExtraInfoEventArgs
- Implements
-
IEquatable<EventArgs>
- Inherited Members
-
EventArgs.ToString()EventArgs.GetHashCode()EventArgs.Equals(EventArgs)EventArgs.<Clone>$()EventArgs.BiDiEventArgs.AdditionalDataEventArgs.AdditionalMessageData
Constructors
RequestWillBeSentExtraInfoEventArgs(RequestId, ImmutableArray<AssociatedCookie>, IReadOnlyDictionary<string, string>, ConnectTiming, ImmutableArray<DeviceBoundSessionWithUsage>?, ClientSecurityState?, bool?, string?)
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.
public RequestWillBeSentExtraInfoEventArgs(RequestId RequestId, ImmutableArray<AssociatedCookie> AssociatedCookies, IReadOnlyDictionary<string, string> Headers, ConnectTiming ConnectTiming, ImmutableArray<DeviceBoundSessionWithUsage>? DeviceBoundSessionUsages = null, ClientSecurityState? ClientSecurityState = null, bool? SiteHasCookieInOtherPartition = null, string? AppliedNetworkConditionsId = null)
Parameters
RequestIdRequestIdRequest identifier. Used to match this information to an existing requestWillBeSent event.
AssociatedCookiesImmutableArray<AssociatedCookie>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 blockedReasons field set.
HeadersIReadOnlyDictionary<string, string>Raw request headers as they will be sent over the wire.
ConnectTimingConnectTimingConnection timing information for the request.
DeviceBoundSessionUsagesImmutableArray<DeviceBoundSessionWithUsage>?How the request site's device bound sessions were used during this request.
ClientSecurityStateClientSecurityStateThe client security state set for the request.
SiteHasCookieInOtherPartitionbool?Whether the site has partitioned cookies stored in a partition different than the current one.
AppliedNetworkConditionsIdstringThe network conditions id if this request was affected by network conditions configured via emulateNetworkConditionsByRule.
Properties
AppliedNetworkConditionsId
The network conditions id if this request was affected by network conditions configured via emulateNetworkConditionsByRule.
public string? AppliedNetworkConditionsId { get; init; }
Property Value
AssociatedCookies
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 blockedReasons field set.
public ImmutableArray<AssociatedCookie> AssociatedCookies { get; init; }
Property Value
ClientSecurityState
The client security state set for the request.
public ClientSecurityState? ClientSecurityState { get; init; }
Property Value
ConnectTiming
Connection timing information for the request.
public ConnectTiming ConnectTiming { get; init; }
Property Value
DeviceBoundSessionUsages
How the request site's device bound sessions were used during this request.
public ImmutableArray<DeviceBoundSessionWithUsage>? DeviceBoundSessionUsages { get; init; }
Property Value
Headers
Raw request headers as they will be sent over the wire.
public IReadOnlyDictionary<string, string> Headers { get; init; }
Property Value
RequestId
Request identifier. Used to match this information to an existing requestWillBeSent event.
public RequestId RequestId { get; init; }
Property Value
SiteHasCookieInOtherPartition
Whether the site has partitioned cookies stored in a partition different than the current one.
public bool? SiteHasCookieInOtherPartition { get; init; }
Property Value
- bool?