[][src]Module http_req::request

creating and sending HTTP requests

Structs

Request

Relatively higher-level struct for making HTTP requests.

RequestBuilder

Relatively low-level struct for making HTTP requests.

Enums

HttpVersion

HTTP versions

Method

HTTP request methods

Functions

connect_timeout

Connects to target host with a timeout

copy_until

Copies data from reader to writer until the specified value is reached. Returns how many bytes has been read.

get

Creates and sends GET request. Returns response for this request.

head

Creates and sends HEAD request. Returns response for this request.