Crate hyper_simple_server
source · [−]Re-exports
pub use ::hyper;
pub use ::tokio;
pub use ::http;
pub use ::http_body;
pub use ::bytes;
pub use ::rustls;
pub use ::tokio_rustls;
pub use ::rustls_pemfile;
pub use ::futures;
pub use ::path_tree;
pub use ::argparse;
Modules
Macros
Structs
Represents the authority component of a URI.
A stream of Bytes
, used when receiving bodies.
Future that resolves to the next data chunk from Body
A Body
size hint
Future that resolves to the optional trailers from Body
A cheaply cloneable and sliceable chunk of contiguous memory.
A type map of protocol extensions.
A set of HTTP headers
Represents an HTTP header field name
Represents an HTTP header field value.
The Request Method (VERB)
Represents the path component of a URI
Represents an HTTP request.
An HTTP request builder
Component parts of an HTTP Request
Represents an HTTP response
An HTTP response builder
Component parts of an HTTP Response
The Tokio runtime.
Represents the scheme component of a URI
An HTTP status code (status-code
in RFC 7230 et al.).
The URI component of a request.
Represents a version of the HTTP spec.
Enums
Traits
A marker trait used to identify values that can be used as search keys
to a HeaderMap
.
Trait representing a streaming body of a Request or Response.
Read bytes from a buffer.
A marker trait used to identify values that can be used as insert keys
to a HeaderMap
.