Module http

Source
Expand description

Module for interacting with HTTP/HTTPS APIs.

Modules§

header
HTTP header types

Structs§

Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.
Client
Client for communicating with APIs through HTTP/HTTPS.
HeaderMap
A set of HTTP headers
Method
The Request Method (VERB)
Request
A request which can be executed with Client::execute().
RequestBuilder
A builder to construct the properties of a Request.
RequestConfig
Configuration when sending a request using Client.
StatusCode
An HTTP status code (status-code in RFC 7230 et al.).

Enums§

RequestError
An enum that represents errors that could be returned by Client::request()

Statics§

USER_AGENT
The User Agent string

Traits§

RequestHandler
A trait which is used to process requests and responses for the Client.