aitch
aitch copied to clipboard
aitch is a simple, lightweight toolkit for building HTTP servers in Rust, loosely based on Go's net/http.
The crate provides `SimpleRouter`, which is primarily an example of how one might build a router or other complex middleware. We should also provide (possible in a separate crate), a...
The aitch crate was originally meant to define just the types necessary to create handlers/middlewares/bodies. The server backends and other middlewares were going to be defined in separate crates. For...
We currently have implementations for two back-ends: Hyper and HTTP. Both expose a `Server` struct with a common interface. So far they do not share a trait, but perhaps they...
We currently define `aitch::Error` to be an alias for `Box`. This was because: - We wanted middleware to be as generic as possible, while requiring as few type parameters as...