Struct reqwest::Request [] [src]

pub struct Request { /* fields omitted */ }

A request which can be executed with Client::execute().

Methods

impl Request
[src]

[src]

Constructs a new request.

[src]

Get the method.

[src]

Get a mutable reference to the method.

[src]

Get the url.

[src]

Get a mutable reference to the url.

[src]

Get the headers.

[src]

Get a mutable reference to the headers.

[src]

Get the body.

[src]

Get a mutable reference to the body.

Trait Implementations

impl Debug for Request
[src]

[src]

Formats the value using the given formatter.