Re-exports

pub use request::Request;
pub use response::Response;

Modules

HTTP header types

The HTTP request method

HTTP status codes

URI component of request and response lines

HTTP version

Structs

A generic “error” for HTTP connections

请求和响应的扩展组件。

A set of HTTP headers

Represents an HTTP header field name

Represents an HTTP header field value.

The Request Method (VERB)

An HTTP status code (status-code in RFC 7230 et al.).

The URI component of a request.

Represents a version of the HTTP spec.

Type Definitions

A Result typedef to use with the http::Error type