unrest 0.1.0

PoC of async http framework
Documentation
1
2
3
4
5
6
7
8
9
10
use futures::Future;
use {Request, Response, Params, Error};
use request::Method;
use Container;

pub trait Handler {
    fn handle(&self, Request, Params, Container) -> Box<Future<Item = Response, Error = Error>>;
    fn path(&self) -> &'static str;
    fn method(&self) -> Method;
}