pub struct ResponseReceivedExtraInfoEventParams {
pub request_id: RequestId,
pub blocked_cookies: Vec<BlockedSetCookieWithReason>,
pub headers: Headers,
pub resource_ip_address_space: IpAddressSpace,
pub status_code: JsUInt,
pub headers_text: Option<String>,
pub cookie_partition_key: Option<CookiePartitionKey>,
pub cookie_partition_key_opaque: Option<bool>,
pub exempted_cookies: Option<Vec<ExemptedSetCookieWithReason>>,
}Fields§
§request_id: RequestIdRequest identifier. Used to match this information to another responseReceived event.
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.
headers: HeadersRaw response headers as they were received over the wire.
Duplicate headers in the response are represented as a single key with their values
concatentated using \n as the separator.
See also headersText that contains verbatim text for HTTP/1.*.
resource_ip_address_space: IpAddressSpaceThe 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.
status_code: JsUIntThe 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.
headers_text: Option<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.
The cookie partition key that will be used to store partitioned cookies set in this response. Only sent when partitioned cookies are enabled.
True if partitioned cookies are enabled, but the partition key is not serializable to string.
A list of cookies which should have been blocked by 3PCD but are exempted and stored from the response with the corresponding reason.
Trait Implementations§
Source§impl Clone for ResponseReceivedExtraInfoEventParams
impl Clone for ResponseReceivedExtraInfoEventParams
Source§fn clone(&self) -> ResponseReceivedExtraInfoEventParams
fn clone(&self) -> ResponseReceivedExtraInfoEventParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for ResponseReceivedExtraInfoEventParams
impl<'de> Deserialize<'de> for ResponseReceivedExtraInfoEventParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ResponseReceivedExtraInfoEventParams
impl PartialEq for ResponseReceivedExtraInfoEventParams
Source§fn eq(&self, other: &ResponseReceivedExtraInfoEventParams) -> bool
fn eq(&self, other: &ResponseReceivedExtraInfoEventParams) -> bool
self and other values to be equal, and is used by ==.