ResponseReceivedExtraInfoEvent class

Constructors

ResponseReceivedExtraInfoEvent({required RequestId requestId, required List<BlockedSetCookieWithReason> blockedCookies, required Headers headers, required IPAddressSpace resourceIPAddressSpace, required int statusCode, String? headersText, CookiePartitionKey? cookiePartitionKey, bool? cookiePartitionKeyOpaque, List<ExemptedSetCookieWithReason>? exemptedCookies})
ResponseReceivedExtraInfoEvent.fromJson(Map<String, dynamic> json)
factory

Properties

blockedCookies List<BlockedSetCookieWithReason>
A list of cookies which were not stored from the response along with the corresponding reasons for blocking. The cookies here may not be valid due to syntax errors, which are represented by the invalid cookie line string instead of a proper cookie.
final
cookiePartitionKey CookiePartitionKey?
The cookie partition key that will be used to store partitioned cookies set in this response. Only sent when partitioned cookies are enabled.
final
cookiePartitionKeyOpaque bool?
True if partitioned cookies are enabled, but the partition key is not serializable to string.
final
exemptedCookies List<ExemptedSetCookieWithReason>?
A list of cookies which should have been blocked by 3PCD but are exempted and stored from the response with the corresponding reason.
final
hashCode int
The hash code for this object.
no setterinherited
headers Headers
Raw response headers as they were received over the wire.
final
headersText String?
Raw response header text as it was received over the wire. The raw text may not always be available, such as in the case of HTTP/2 or QUIC.
final
requestId RequestId
Request identifier. Used to match this information to another responseReceived event.
final
resourceIPAddressSpace IPAddressSpace
The IP address space of the resource. The address space can only be determined once the transport established the connection, so we can't send it in requestWillBeSentExtraInfo.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
The status code of the response. This is useful in cases the request failed and no responseReceived event is triggered, which is the case for, e.g., CORS errors. This is also the correct status code for cached requests, where the status in responseReceived is a 200 and this will be 304.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited