Moved WriteStatus, Fresh, and Streaming in to the net module.
This commit is contained in:
committed by
Sean McArthur
parent
d5c6f33c34
commit
4115c0e219
@@ -8,9 +8,9 @@ use std::io::net::ip::Ipv4Addr;
|
||||
use std::sync::Arc;
|
||||
|
||||
use hyper::{Get, Post};
|
||||
use hyper::server::{Server, Handler, Incoming, Request, Response, Fresh};
|
||||
use hyper::server::{Server, Handler, Incoming, Request, Response};
|
||||
use hyper::header::common::ContentLength;
|
||||
use hyper::net::{HttpStream, HttpAcceptor};
|
||||
use hyper::net::{HttpStream, HttpAcceptor, Fresh};
|
||||
|
||||
trait ConcurrentHandler: Send + Sync {
|
||||
fn handle(&self, req: Request, res: Response<Fresh>);
|
||||
|
||||
Reference in New Issue
Block a user