Function ntex::chain

source ·
pub fn chain<Svc, Req, F>(service: F) -> ServiceChain<Svc, Req>where
    Svc: Service<Req>,
    F: IntoService<Svc, Req>,
Expand description

Constructs new pipeline with one service in pipeline chain.