Struct cdp::network::Request [] [src]

pub struct Request<'a> {
    pub url: Cow<'a, str>,
    pub method: Cow<'a, str>,
    pub headers: Headers,
    pub post_data: Option<Cow<'a, str>>,
    pub mixed_content_type: Option<MixedContentType>,
    pub initial_priority: ResourcePriority,
    pub referrer_policy: RequestReferrerPolicy,
    pub is_link_preload: Option<bool>,
}

HTTP request data.

Fields

Request URL.

HTTP request method.

HTTP request headers.

HTTP POST request data.

The mixed content type of the request.

Priority of the resource request at the time request is sent.

The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/

Whether is loaded via link preload.

Trait Implementations

impl<'a> Clone for Request<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for Request<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for Request<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.