pub struct ContinueInterceptedRequestParams<'a> { /* private fields */ }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<'a> ContinueInterceptedRequestParams<'a>
impl<'a> ContinueInterceptedRequestParams<'a>
pub fn builder( interceptionId: InterceptionId<'a>, ) -> ContinueInterceptedRequestParamsBuilder<'a>
pub fn interceptionId(&self) -> &InterceptionId<'a>
pub fn errorReason(&self) -> Option<&ErrorReason>
pub fn rawResponse(&self) -> Option<&str>
pub fn url(&self) -> Option<&str>
pub fn method(&self) -> Option<&str>
pub fn postData(&self) -> Option<&str>
pub fn headers(&self) -> Option<&Headers>
pub fn authChallengeResponse(&self) -> Option<&AuthChallengeResponse<'a>>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for ContinueInterceptedRequestParams<'a>
impl<'a> CdpCommand<'a> for ContinueInterceptedRequestParams<'a>
Source§impl<'a> Clone for ContinueInterceptedRequestParams<'a>
impl<'a> Clone for ContinueInterceptedRequestParams<'a>
Source§fn clone(&self) -> ContinueInterceptedRequestParams<'a>
fn clone(&self) -> ContinueInterceptedRequestParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ContinueInterceptedRequestParams<'a>
impl<'a> Debug for ContinueInterceptedRequestParams<'a>
Source§impl<'a> Default for ContinueInterceptedRequestParams<'a>
impl<'a> Default for ContinueInterceptedRequestParams<'a>
Source§fn default() -> ContinueInterceptedRequestParams<'a>
fn default() -> ContinueInterceptedRequestParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for ContinueInterceptedRequestParams<'a>
impl<'de, 'a> Deserialize<'de> for ContinueInterceptedRequestParams<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for ContinueInterceptedRequestParams<'a>
impl<'a> RefUnwindSafe for ContinueInterceptedRequestParams<'a>
impl<'a> Send for ContinueInterceptedRequestParams<'a>
impl<'a> Sync for ContinueInterceptedRequestParams<'a>
impl<'a> Unpin for ContinueInterceptedRequestParams<'a>
impl<'a> UnsafeUnpin for ContinueInterceptedRequestParams<'a>
impl<'a> UnwindSafe for ContinueInterceptedRequestParams<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more