Jonathan Reem c760ed063e Change the Handler trait to receive an Iterator of (Request, Response) pairs.
This allows downstream users to have total control of their concurrency
strategy, while also exposing a very nice, streaming interface for frameworks
to build on.

This also resolves issues surrounding the use of IoResult as the return type
of Handler::handle, because handlers now have complete control over how to
handle internal failure.

Fixes #3
Fixes #4
2014-09-07 09:18:20 +02:00
2014-09-03 14:14:44 -07:00
2014-08-30 14:18:28 -07:00
2014-09-01 18:39:24 -07:00
2014-08-30 14:18:28 -07:00
2014-09-02 20:51:57 -07:00

hyper

Build Status

An HTTP library for Rust.

Documentation

Scientific* Benchmarks

Client bench:

running 3 tests
test bench_curl  ... bench:    234539 ns/iter (+/- 22228)
test bench_http  ... bench:    290370 ns/iter (+/- 69179)
test bench_hyper ... bench:    224482 ns/iter (+/- 95197)

test result: ok. 0 passed; 0 failed; 0 ignored; 3 measured

* No science was harmed in this benchmark.

License

MIT

Description
No description provided
Readme MIT 6.5 MiB
Languages
Rust 94.5%
C 5.2%
Shell 0.3%