pub struct EventRequestWillBeSentExtraInfo {
pub request_id: RequestId,
pub associated_cookies: Vec<AssociatedCookie>,
pub headers: Headers,
pub connect_timing: ConnectTiming,
pub client_security_state: Option<ClientSecurityState>,
pub site_has_cookie_in_other_partition: Option<bool>,
}Expand description
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. requestWillBeSentExtraInfo
Fields§
§request_id: RequestIdRequest identifier. Used to match this information to an existing requestWillBeSent event.
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.
headers: HeadersRaw request headers as they will be sent over the wire.
connect_timing: ConnectTimingConnection timing information for the request.
client_security_state: Option<ClientSecurityState>The client security state set for the request.
Whether the site has partitioned cookies stored in a partition different than the current one.
Implementations§
Source§impl EventRequestWillBeSentExtraInfo
impl EventRequestWillBeSentExtraInfo
pub const IDENTIFIER: &'static str = "Network.requestWillBeSentExtraInfo"
Trait Implementations§
Source§impl Clone for EventRequestWillBeSentExtraInfo
impl Clone for EventRequestWillBeSentExtraInfo
Source§fn clone(&self) -> EventRequestWillBeSentExtraInfo
fn clone(&self) -> EventRequestWillBeSentExtraInfo
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 EventRequestWillBeSentExtraInfo
impl<'de> Deserialize<'de> for EventRequestWillBeSentExtraInfo
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 From<EventRequestWillBeSentExtraInfo> for CdpEvent
impl From<EventRequestWillBeSentExtraInfo> for CdpEvent
Source§fn from(el: EventRequestWillBeSentExtraInfo) -> CdpEvent
fn from(el: EventRequestWillBeSentExtraInfo) -> CdpEvent
Source§impl IntoEventKind for EventRequestWillBeSentExtraInfo
impl IntoEventKind for EventRequestWillBeSentExtraInfo
Source§fn event_kind() -> EventKindwhere
Self: Sized + 'static,
fn event_kind() -> EventKindwhere
Self: Sized + 'static,
Source§impl Method for EventRequestWillBeSentExtraInfo
impl Method for EventRequestWillBeSentExtraInfo
Source§fn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
removeNodeSource§impl PartialEq for EventRequestWillBeSentExtraInfo
impl PartialEq for EventRequestWillBeSentExtraInfo
Source§fn eq(&self, other: &EventRequestWillBeSentExtraInfo) -> bool
fn eq(&self, other: &EventRequestWillBeSentExtraInfo) -> bool
self and other values to be equal, and is used by ==.