pub struct EventResponseReceivedExtraInfo {
pub request_id: RequestId,
pub blocked_cookies: Vec<BlockedSetCookieWithReason>,
pub headers: Headers,
pub resource_ip_address_space: IpAddressSpace,
pub status_code: i64,
pub headers_text: Option<String>,
pub cookie_partition_key: Option<CookiePartitionKey>,
pub cookie_partition_key_opaque: Option<bool>,
pub exempted_cookies: Option<Vec<ExemptedSetCookieWithReason>>,
}
Expand description
Fired when additional information about a responseReceived event is available from the network stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for it, and responseReceivedExtraInfo may be fired before or after responseReceived. responseReceivedExtraInfo
Fields§
§request_id: RequestId
Request 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: Headers
Raw response headers as they were received over the wire.
resource_ip_address_space: 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
.
status_code: i64
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.
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.
Implementations§
Source§impl EventResponseReceivedExtraInfo
impl EventResponseReceivedExtraInfo
pub const IDENTIFIER: &'static str = "Network.responseReceivedExtraInfo"
Trait Implementations§
Source§impl Clone for EventResponseReceivedExtraInfo
impl Clone for EventResponseReceivedExtraInfo
Source§fn clone(&self) -> EventResponseReceivedExtraInfo
fn clone(&self) -> EventResponseReceivedExtraInfo
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 EventResponseReceivedExtraInfo
impl<'de> Deserialize<'de> for EventResponseReceivedExtraInfo
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventResponseReceivedExtraInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventResponseReceivedExtraInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl From<EventResponseReceivedExtraInfo> for CdpEvent
impl From<EventResponseReceivedExtraInfo> for CdpEvent
Source§fn from(el: EventResponseReceivedExtraInfo) -> CdpEvent
fn from(el: EventResponseReceivedExtraInfo) -> CdpEvent
Source§impl IntoEventKind for EventResponseReceivedExtraInfo
impl IntoEventKind for EventResponseReceivedExtraInfo
Source§fn event_kind() -> EventKindwhere
EventResponseReceivedExtraInfo: Sized + 'static,
fn event_kind() -> EventKindwhere
EventResponseReceivedExtraInfo: Sized + 'static,
Source§impl Method for EventResponseReceivedExtraInfo
impl Method for EventResponseReceivedExtraInfo
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
DOM.removeNode
Source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
DOM
Source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
removeNode
Source§impl PartialEq for EventResponseReceivedExtraInfo
impl PartialEq for EventResponseReceivedExtraInfo
Source§fn eq(&self, other: &EventResponseReceivedExtraInfo) -> bool
fn eq(&self, other: &EventResponseReceivedExtraInfo) -> bool
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for EventResponseReceivedExtraInfo
impl Serialize for EventResponseReceivedExtraInfo
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for EventResponseReceivedExtraInfo
Auto Trait Implementations§
impl Freeze for EventResponseReceivedExtraInfo
impl RefUnwindSafe for EventResponseReceivedExtraInfo
impl Send for EventResponseReceivedExtraInfo
impl Sync for EventResponseReceivedExtraInfo
impl Unpin for EventResponseReceivedExtraInfo
impl UnwindSafe for EventResponseReceivedExtraInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more