Struct chromiumoxide::handler::http::HttpRequest[][src]

pub struct HttpRequest {
    pub from_memory_cache: bool,
    pub failure_text: Option<String>,
    pub interception_id: Option<InterceptionId>,
    pub response: Option<Response>,
    pub headers: HashMap<String, String>,
    pub frame: Option<FrameId>,
    pub is_navigation_request: bool,
    pub allow_interception: bool,
    pub interception_handled: bool,
    pub method: Option<String>,
    pub url: Option<String>,
    pub resource_type: Option<String>,
    pub post_data: Option<String>,
    pub redirect_chain: Vec<HttpRequest>,
    // some fields omitted
}

Fields

from_memory_cache: boolfailure_text: Option<String>interception_id: Option<InterceptionId>response: Option<Response>headers: HashMap<String, String>frame: Option<FrameId>is_navigation_request: boolallow_interception: boolinterception_handled: boolmethod: Option<String>url: Option<String>resource_type: Option<String>post_data: Option<String>redirect_chain: Vec<HttpRequest>

Implementations

impl HttpRequest[src]

pub fn new(
    request_id: RequestId,
    frame: Option<FrameId>,
    interception_id: Option<InterceptionId>,
    allow_interception: bool,
    redirect_chain: Vec<HttpRequest>
) -> Self
[src]

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

Trait Implementations

impl Clone for HttpRequest[src]

impl Debug for HttpRequest[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> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,