httpbin 0.3.3

A httpbin reimplementation in rust. Works as a library and as a standalone webserver binary. (not affiliated to the original httpbin)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod index;
pub mod not_found;
pub mod ip;
pub mod user_agent;
pub mod headers;
pub mod utf8;
pub mod status;


use futures::Future;
use tk_http::server::{EncoderDone, Codec, Error};

pub type ResponseFuture<S> = Box<Future<Item=EncoderDone<S>, Error=Error>>;
pub type Response<S> = Box<Codec<S, ResponseFuture=ResponseFuture<S>>>;