ntex_io

Function seal

source
pub fn seal<F, S, C>(
    srv: S,
) -> impl ServiceFactory<Io<F>, C, Response = S::Response, Error = S::Error, InitError = S::InitError>
where F: Filter, S: ServiceFactory<IoBoxed, C>, C: Clone,
Expand description

Service that converts any Io stream to IoBoxed stream