Crate hyper_old_types

Source
Expand description

§hyper-old-types

Re-exports§

pub extern crate mime;
pub use error::Result;
pub use error::Error;
pub use header::Headers;
pub use method::Method::Get;
pub use method::Method::Head;
pub use method::Method::Post;
pub use method::Method::Put;
pub use method::Method::Delete;
pub use status::StatusCode::Ok;
pub use status::StatusCode::BadRequest;
pub use status::StatusCode::NotFound;

Modules§

error
Error and Result module.
header
Headers container, and common header fields.

Macros§

header

Structs§

Uri
The Request-URI of a Request’s StartLine.

Enums§

HttpVersion
Represents a version of the HTTP spec.
Method
The Request Method (VERB)
StatusCode
An HTTP status code (status-code in RFC 7230 et al.).