Struct chrome_remote_interface_model::network::RequestWillBeSentExtraInfoEvent[][src]

pub struct RequestWillBeSentExtraInfoEvent { /* fields omitted */ }

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.

Implementations

impl RequestWillBeSentExtraInfoEvent[src]

pub fn new(
    request_id: RequestId,
    associated_cookies: Vec<JsonValue>,
    headers: Headers
) -> Self
[src]

pub fn request_id(&self) -> &RequestId[src]

Request identifier. Used to match this information to an existing requestWillBeSent event.

pub fn associated_cookies(&self) -> &[JsonValue]

Notable traits for &'_ mut [u8]

impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
[src]

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 blockedReason field set.

pub fn headers(&self) -> &Headers[src]

Raw request headers as they will be sent over the wire.

Trait Implementations

impl Clone for RequestWillBeSentExtraInfoEvent[src]

impl Debug for RequestWillBeSentExtraInfoEvent[src]

impl<'de> Deserialize<'de> for RequestWillBeSentExtraInfoEvent[src]

impl Serialize for RequestWillBeSentExtraInfoEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.