Module hyper

Source
Expand description

HTTP, versions 1 and 2.

See crate ::hyper.

Modules§

body
Streaming bodies for Requests and Responses
client
HTTP Client
ext
HTTP extensions.
http
A general purpose library of common HTTP types
rt
Runtime components
server
HTTP Server
service
Asynchronous Services
upgrade
HTTP Upgrades

Structs§

Error
Represents errors that can occur handling HTTP streams.
HeaderMap
A set of HTTP headers
Method
The Request Method (VERB)
Request
Represents an HTTP request.
Response
Represents an HTTP response
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).
Uri
The URI component of a request.
Version
Represents a version of the HTTP spec.

Type Aliases§

Result
Result type often returned from methods that can have hyper Errors.