Struct chrome_remote_interface_model::network::Request [−][src]
Network
and Debugger
and Runtime
and Security
only.HTTP request data.
Implementations
impl Request
[src]
pub fn builder() -> RequestBuilder
[src]
pub fn url(&self) -> &str
[src]
Request URL (without fragment).
pub fn url_fragment(&self) -> Option<&String>
[src]
Fragment of the requested URL starting with hash, if present.
pub fn method(&self) -> &str
[src]
HTTP request method.
pub fn headers(&self) -> &Headers
[src]
HTTP request headers.
pub fn post_data(&self) -> Option<&String>
[src]
HTTP POST request data.
pub fn has_post_data(&self) -> Option<&bool>
[src]
True when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long.
pub fn post_data_entries(&self) -> Option<&Vec<PostDataEntry>>
[src]
experimental
only.Request body elements. This will be converted from base64 to binary
pub fn mixed_content_type(&self) -> Option<&MixedContentType>
[src]
The mixed content type of the request.
pub fn initial_priority(&self) -> &ResourcePriority
[src]
Priority of the resource request at the time request is sent.
pub fn referrer_policy(&self) -> &RequestReferrerPolicy
[src]
The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/
pub fn is_link_preload(&self) -> Option<&bool>
[src]
Whether is loaded via link preload.
pub fn trust_token_params(&self) -> Option<&JsonValue>
[src]
experimental
only.Set for requests when the TrustToken API is used. Contains the parameters passed by the developer (e.g. via "fetch") as understood by the backend.
Trait Implementations
impl Clone for Request
[src]
impl Debug for Request
[src]
impl<'de> Deserialize<'de> for Request
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Request
[src]
Auto Trait Implementations
impl RefUnwindSafe for Request
[src]
impl Send for Request
[src]
impl Sync for Request
[src]
impl Unpin for Request
[src]
impl UnwindSafe for Request
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,