pub struct ContinueRequestParams {
pub request_id: RequestId,
pub url: Option<String>,
pub method: Option<String>,
pub post_data: Option<Binary>,
pub headers: Option<Vec<HeaderEntry>>,
pub intercept_response: Option<bool>,
}
Expand description
Continues the request, optionally modifying some of its parameters. continueRequest
Fields§
§request_id: RequestId
An id the client received in requestPaused event.
url: Option<String>
If set, the request url will be modified in a way that’s not observable by page.
method: Option<String>
If set, the request method is overridden.
post_data: Option<Binary>
If set, overrides the post data in the request.
headers: Option<Vec<HeaderEntry>>
If set, overrides the request headers. Note that the overrides do not extend to subsequent redirect hops, if a redirect happens. Another override may be applied to a different request produced by a redirect.
intercept_response: Option<bool>
If set, overrides response interception behavior for this request.
Implementations§
Source§impl ContinueRequestParams
impl ContinueRequestParams
pub fn new(request_id: impl Into<RequestId>) -> ContinueRequestParams
Source§impl ContinueRequestParams
impl ContinueRequestParams
pub fn builder() -> ContinueRequestParamsBuilder
Source§impl ContinueRequestParams
impl ContinueRequestParams
pub const IDENTIFIER: &'static str = "Fetch.continueRequest"
Trait Implementations§
Source§impl Clone for ContinueRequestParams
impl Clone for ContinueRequestParams
Source§fn clone(&self) -> ContinueRequestParams
fn clone(&self) -> ContinueRequestParams
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Command for ContinueRequestParams
impl Command for ContinueRequestParams
Source§impl Debug for ContinueRequestParams
impl Debug for ContinueRequestParams
Source§impl<'de> Deserialize<'de> for ContinueRequestParams
impl<'de> Deserialize<'de> for ContinueRequestParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContinueRequestParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContinueRequestParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for ContinueRequestParams
impl Method for ContinueRequestParams
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
Source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
Source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
Source§impl MethodType for ContinueRequestParams
impl MethodType for ContinueRequestParams
Source§impl PartialEq for ContinueRequestParams
impl PartialEq for ContinueRequestParams
Source§impl Serialize for ContinueRequestParams
impl Serialize for ContinueRequestParams
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ContinueRequestParams
Auto Trait Implementations§
impl Freeze for ContinueRequestParams
impl RefUnwindSafe for ContinueRequestParams
impl Send for ContinueRequestParams
impl Sync for ContinueRequestParams
impl Unpin for ContinueRequestParams
impl UnwindSafe for ContinueRequestParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more