Struct chrome_remote_interface_model::network::ContinueInterceptedRequestCommand[][src]

pub struct ContinueInterceptedRequestCommand { /* fields omitted */ }
👎 Deprecated
This is supported on crate features Network and Debugger and Runtime and Security and experimental only.

Response to Network.requestIntercepted which either modifies the request to continue with any modifications, or blocks it, or completes it with the provided response bytes. If a network fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted event will be sent with the same InterceptionId. Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.

Implementations

impl ContinueInterceptedRequestCommand[src]

pub fn builder() -> ContinueInterceptedRequestCommandBuilder[src]

👎 Deprecated

pub fn interception_id(&self) -> &InterceptionId[src]

👎 Deprecated

pub fn error_reason(&self) -> Option<&ErrorReason>[src]

👎 Deprecated

If set this causes the request to fail with the given reason. Passing Aborted for requests marked with isNavigationRequest also cancels the navigation. Must not be set in response to an authChallenge.

pub fn raw_response(&self) -> Option<&String>[src]

👎 Deprecated

If set the requests completes using with the provided base64 encoded raw response, including HTTP status line and headers etc... Must not be set in response to an authChallenge.

pub fn url(&self) -> Option<&String>[src]

👎 Deprecated

If set the request url will be modified in a way that's not observable by page. Must not be set in response to an authChallenge.

pub fn method(&self) -> Option<&String>[src]

👎 Deprecated

If set this allows the request method to be overridden. Must not be set in response to an authChallenge.

pub fn post_data(&self) -> Option<&String>[src]

👎 Deprecated

If set this allows postData to be set. Must not be set in response to an authChallenge.

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

👎 Deprecated

If set this allows the request headers to be changed. Must not be set in response to an authChallenge.

pub fn auth_challenge_response(&self) -> Option<&JsonValue>[src]

👎 Deprecated

Response to a requestIntercepted with an authChallenge. Must not be set otherwise.

Trait Implementations

impl Clone for ContinueInterceptedRequestCommand[src]

impl Command for ContinueInterceptedRequestCommand[src]

type Return = ContinueInterceptedRequestReturn

Return type.

impl Debug for ContinueInterceptedRequestCommand[src]

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

impl Serialize for ContinueInterceptedRequestCommand[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.