pub fn expect<X1>(self, expect: X1) -> HttpService<F, S, B, X1, U>
    where
        X1: ServiceFactory<Request, Response = Request>,
        X1::Error: ResponseError,
        X1::InitError: fmt::Debug,
    {
        HttpService {
            expect,
            cfg: self.cfg,
            srv: self.srv,
            upgrade: self.upgrade,
            on_request: self.on_request,
            _t: marker::PhantomData,
        }
    }
/// Provide service for `EXPECT: 100-Continue` support.
///
/// Service get called with request that contains `EXPECT` header.
/// Service must return request in case of success, in that case
/// request will be forwarded to main service.
Provide service for `EXPECT: 100-Continue` support.
Service get called with request that contains `EXPECT` header.
Service must return request in case of success, in that case
request will be forwarded to main service.
Provide service for ` EXPECT : 100 - Continue ` support . Service get called with request that contains ` EXPECT ` header . Service must return request in case of success in that case request will be forwarded to main service .
pub fn expect<X1>(self, expect: X1) -> HttpService<F, S, B, X1, U>
    where
        X1: ServiceFactory<Request, Response = Request>,
        X1::Error: ResponseError,
        X1::InitError: fmt::Debug,
    {
        HttpService {
            expect,
            cfg: self.cfg,
            srv: self.srv,
            upgrade: self.upgrade,
            on_request: self.on_request,
            _t: marker::PhantomData,
        }
    }
pub fn expect < X1 > ( self , expect : X1 ) -> HttpService < F , S , B , X1 , U > where X1 : ServiceFactory < Request , Response = Request > , X1 :: Error : ResponseError , X1 :: InitError : fmt :: Debug , { HttpService { expect , cfg : self . cfg , srv : self . srv , upgrade : self . upgrade , on_request : self . on_request , _t : marker :: PhantomData , } }
Provide service for `EXPECT: 100-Continue` support.
Provide service for ` EXPECT : 100 - Continue ` support .
self
expect
X1
self
expect
X1