Struct minreq::Request [] [src]

pub struct Request { /* fields omitted */ }

An HTTP request.

Methods

impl Request
[src]

[src]

Creates a new HTTP Request.

This is only the request's data, it is not sent yet. For sending the request, see send.

[src]

Adds a header to the request this is called on. Use this function to add headers to your requests.

[src]

Sets the request body.

[src]

Sets the request timeout.

[src]

Sends this request to the host.

Trait Implementations

Auto Trait Implementations

impl Send for Request

impl Sync for Request