Struct reqwest::Request[][src]

pub struct Request { /* fields omitted */ }

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

Methods

impl Request
[src]

Constructs a new request.

Get the method.

Get a mutable reference to the method.

Get the url.

Get a mutable reference to the url.

Get the headers.

Get a mutable reference to the headers.

Get the body.

Get a mutable reference to the body.

Trait Implementations

impl Debug for Request
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Request

impl !Sync for Request