pub struct GetResponseBodyParams {
pub request_id: RequestId,
}Expand description
Causes the body of the response to be received from the server and
returned as a single string. May only be issued for a request that is
paused in the Response stage and is mutually exclusive with
takeResponseBodyForInterceptionAsStream. Calling other methods that affect
the request or disabling fetch domain before body is received results in
an undefined behavior. Note that the response body is not available for
redirects. Requests paused in the redirect received state may be
differentiated by responseCode and presence of location response
header, see comments to requestPaused for details.
Parameters of Fetch.getResponseBody.
Fields§
§request_id: RequestIdIdentifier for the intercepted request to get body for.
Trait Implementations§
Source§impl Clone for GetResponseBodyParams
impl Clone for GetResponseBodyParams
Source§impl Command for GetResponseBodyParams
impl Command for GetResponseBodyParams
Source§impl Debug for GetResponseBodyParams
impl Debug for GetResponseBodyParams
Source§impl Default for GetResponseBodyParams
impl Default for GetResponseBodyParams
Source§impl<'de> Deserialize<'de> for GetResponseBodyParams
impl<'de> Deserialize<'de> for GetResponseBodyParams
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 PartialEq for GetResponseBodyParams
impl PartialEq for GetResponseBodyParams
Source§impl Serialize for GetResponseBodyParams
impl Serialize for GetResponseBodyParams
impl StructuralPartialEq for GetResponseBodyParams
Auto Trait Implementations§
impl Forget for GetResponseBodyParams
impl Freeze for GetResponseBodyParams
impl RefUnwindSafe for GetResponseBodyParams
impl Send for GetResponseBodyParams
impl Sync for GetResponseBodyParams
impl Unpin for GetResponseBodyParams
impl UnsafeUnpin for GetResponseBodyParams
impl UnwindSafe for GetResponseBodyParams
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