Commit Graph

1963 Commits

Author SHA1 Message Date
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
Sean McArthur
4d77477c83 add Date header 2014-09-03 14:14:44 -07:00
Sean McArthur
e2e93c5d5f add + 'static bounds to Header trait 2014-09-03 11:12:04 -07:00
Sean McArthur
592438b630 change headers to use static strs 2014-09-03 11:05:48 -07:00
Sean McArthur
307311f745 consume Server upon listen 2014-09-03 10:56:15 -07:00
Sean McArthur
1ceb468ec3 add issue numbers to todos 2014-09-03 10:55:21 -07:00
Sean McArthur
055a783ef0 adding a custom header to benches 2014-09-02 20:52:29 -07:00
Sean McArthur
7e223932f4 add docs link to readme 2014-09-02 20:51:57 -07:00
Sean McArthur
b4b539091f use Buffered Readers and Writers 2014-09-02 14:14:56 -07:00
Sean McArthur
818fac4128 add some benches with other http libs 2014-09-02 12:06:16 -07:00
Sean McArthur
8938726ed1 adding explicit bounds 2014-09-01 18:51:12 -07:00
Sean McArthur
c905111f8c implementation 2014-09-01 18:39:24 -07:00
Sean McArthur
8865516816 init 2014-08-30 14:18:28 -07:00