pub struct ContinueInterceptedRequestCommand { /* private fields */ }Network and Debugger and Runtime and Security and experimental only.Expand description
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§
Source§impl ContinueInterceptedRequestCommand
impl ContinueInterceptedRequestCommand
pub fn builder() -> ContinueInterceptedRequestCommandBuilder
pub fn interception_id(&self) -> &InterceptionId
Sourcepub fn error_reason(&self) -> Option<&ErrorReason>
👎Deprecated
pub fn error_reason(&self) -> Option<&ErrorReason>
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.
Sourcepub fn raw_response(&self) -> Option<&String>
👎Deprecated
pub fn raw_response(&self) -> Option<&String>
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.
Sourcepub fn url(&self) -> Option<&String>
👎Deprecated
pub fn url(&self) -> Option<&String>
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.
Sourcepub fn method(&self) -> Option<&String>
👎Deprecated
pub fn method(&self) -> Option<&String>
If set this allows the request method to be overridden. Must not be set in response to an authChallenge.
Sourcepub fn post_data(&self) -> Option<&String>
👎Deprecated
pub fn post_data(&self) -> Option<&String>
If set this allows postData to be set. Must not be set in response to an authChallenge.
Sourcepub fn headers(&self) -> Option<&Headers>
👎Deprecated
pub fn headers(&self) -> Option<&Headers>
If set this allows the request headers to be changed. Must not be set in response to an authChallenge.
Sourcepub fn auth_challenge_response(&self) -> Option<&JsonValue>
👎Deprecated
pub fn auth_challenge_response(&self) -> Option<&JsonValue>
Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
Trait Implementations§
Source§impl Clone for ContinueInterceptedRequestCommand
impl Clone for ContinueInterceptedRequestCommand
Source§fn clone(&self) -> ContinueInterceptedRequestCommand
fn clone(&self) -> ContinueInterceptedRequestCommand
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more