pub struct ReplayXhr {
pub method: ReplayXhrMethod,
pub params: ReplayXhrParams,
}Expand description
This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password. replayXHR
Fields§
§method: ReplayXhrMethod§params: ReplayXhrParamsImplementations§
Source§impl ReplayXhr
impl ReplayXhr
pub const IDENTIFIER: &'static str = "Network.replayXHR"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for ReplayXhr
impl CommandResult for ReplayXhr
type Result = ReplayXhrResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for ReplayXhr
impl<'de> Deserialize<'de> for ReplayXhr
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
Source§impl From<ReplayXhr> for BrowserProtocolCommands
impl From<ReplayXhr> for BrowserProtocolCommands
Source§impl From<ReplayXhr> for NetworkCommands
impl From<ReplayXhr> for NetworkCommands
Source§impl TryFrom<BrowserProtocolCommands> for ReplayXhr
impl TryFrom<BrowserProtocolCommands> for ReplayXhr
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <ReplayXhr as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <ReplayXhr as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkCommands> for ReplayXhr
impl TryFrom<NetworkCommands> for ReplayXhr
Source§type Error = NetworkCommands
type Error = NetworkCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: NetworkCommands,
) -> Result<Self, <ReplayXhr as TryFrom<NetworkCommands>>::Error>
fn try_from( e: NetworkCommands, ) -> Result<Self, <ReplayXhr as TryFrom<NetworkCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for ReplayXhr
Auto Trait Implementations§
impl Freeze for ReplayXhr
impl RefUnwindSafe for ReplayXhr
impl Send for ReplayXhr
impl Sync for ReplayXhr
impl Unpin for ReplayXhr
impl UnsafeUnpin for ReplayXhr
impl UnwindSafe for ReplayXhr
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