Crate sotahyper [−] [src]
Hyper
Hyper is a fast, modern HTTP implementation written in and for Rust. It is a low-level typesafe abstraction over raw HTTP, providing an elegant layer over "stringly-typed" HTTP.
Hyper provides both a Client and a Server, along with a typed Headers system.
Reexports
pub use client::Client; |
pub use error::{Result, Error}; |
pub use header::Headers; |
pub use method::Method::{self, Get, Head, Post, Delete}; |
pub use status::StatusCode::{self, Ok, BadRequest, NotFound}; |
pub use server::Server; |
pub use uri::RequestUri; |
pub use version::HttpVersion; |
Modules
client |
HTTP Client |
error |
Error and Result module. |
header |
Headers container, and common header fields. |
method |
The HTTP request method |
mime |
Re-exporting the mime crate, for convenience. |
net |
A collection of traits abstracting over Listeners and Streams. |
server |
HTTP Server |
status |
HTTP status codes |
uri |
HTTP RequestUris |
version |
HTTP Versions enum |
Macros
header |
Structs
Control |
A notifier to wakeup a socket after having used |
ControlError |
An error occured trying to tell a Control it is ready. |
Decoder |
Wraps a |
Encoder |
Wraps a |
LanguageTag |
A language tag as described in BCP47. |
Next |
Used to signal desired events when working with asynchronous IO. |
Url |
A parsed URL record. |