1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-19 12:25:37 +02:00

update tests

This commit is contained in:
Nikolay Kim
2017-12-13 23:09:20 -08:00
parent 4529efa948
commit 8c1487f7f2
2 changed files with 4 additions and 5 deletions

View File

@@ -82,7 +82,7 @@ impl ServerSettings {
/// An HTTP Server
///
/// `T` - async stream, anything that implements `AsyncRead` + `AsyncWrite`.
/// `T` - async stream, anything that implements `AsyncRead` + `AsyncWrite`.
///
/// `A` - peer address
///
@@ -121,7 +121,7 @@ impl<T, A, H, U, V> HttpServer<T, A, H, U>
U: IntoIterator<Item=V> + 'static,
V: IntoHttpHandler<Handler=H>,
{
/// Create new http server with vec of http handlers
/// Create new http server with application factory
pub fn new<F>(factory: F) -> Self
where F: Sync + Send + 'static + Fn() -> U,
{
@@ -401,7 +401,6 @@ impl<T, A, H, U> Handler<IoStream<T>, io::Error> for HttpServer<T, A, H, U>
}
}
/// Http workers
///
/// Worker accepts Socket objects via unbounded channel and start requests processing.