mirror of https://github.com/fafhrd91/actix-web
Update src/middleware/condition.rs
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
This commit is contained in:
parent
77279b8696
commit
ce4e9a5595
|
@ -3,7 +3,7 @@ use actix_service::{Service, Transform};
|
||||||
use futures::future::{ok, Either, FutureResult, Map};
|
use futures::future::{ok, Either, FutureResult, Map};
|
||||||
use futures::{Future, Poll};
|
use futures::{Future, Poll};
|
||||||
|
|
||||||
/// `Middleware` for conditianally enables another middleware
|
/// `Middleware` for conditionally enables another middleware.
|
||||||
/// The controled middleware must not change the `Service` interfaces.
|
/// The controled middleware must not change the `Service` interfaces.
|
||||||
/// This means you cannot control such middlewares like `Logger` or `Compress`.
|
/// This means you cannot control such middlewares like `Logger` or `Compress`.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue