Struct chrome_remote_interface_model::network::ContinueInterceptedRequestCommand [−][src]
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]
pub fn interception_id(&self) -> &InterceptionId
[src]
pub fn error_reason(&self) -> Option<&ErrorReason>
[src]
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]
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]
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]
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]
If set this allows postData to be set. Must not be set in response to an authChallenge.
pub fn headers(&self) -> Option<&Headers>
[src]
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]
Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
Trait Implementations
impl Clone for ContinueInterceptedRequestCommand
[src]
fn clone(&self) -> ContinueInterceptedRequestCommand
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Command for ContinueInterceptedRequestCommand
[src]
type Return = ContinueInterceptedRequestReturn
Return type.
const METHOD: &'static str
[src]
fn into_request(self, session_id: Option<SessionId>, id: u32) -> Request<Self> where
Self: Sized,
[src]
Self: Sized,
impl Debug for ContinueInterceptedRequestCommand
[src]
impl<'de> Deserialize<'de> for ContinueInterceptedRequestCommand
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for ContinueInterceptedRequestCommand
[src]
Auto Trait Implementations
impl RefUnwindSafe for ContinueInterceptedRequestCommand
[src]
impl Send for ContinueInterceptedRequestCommand
[src]
impl Sync for ContinueInterceptedRequestCommand
[src]
impl Unpin for ContinueInterceptedRequestCommand
[src]
impl UnwindSafe for ContinueInterceptedRequestCommand
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,