Module generic_api_client::http
source · Expand description
Module for interacting with HTTP/HTTPS APIs.
Modules
- HTTP header types
Structs
- A cheaply cloneable and sliceable chunk of contiguous memory.
- Client for communicating with APIs through HTTP/HTTPS.
- A set of HTTP headers
- The Request Method (VERB)
- A request which can be executed with
Client::execute()
. - A builder to construct the properties of a
Request
. - Configuration when sending a request using Client.
- An HTTP status code (
status-code
in RFC 7230 et al.).
Enums
- An
enum
that represents errors that could be returned by Client::request()
Statics
- The User Agent string
Traits
- A
trait
which is used to process requests and responses for the Client.