Struct minreq::Request[][src]

pub struct Request { /* fields omitted */ }

An HTTP request.

Methods

impl Request
[src]

Creates a new HTTP Request.

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

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

Sets the request body.

Sets the request timeout.

Sends this request to the host.

Auto Trait Implementations

impl Send for Request

impl Sync for Request