pub fn freeze(self) -> Result<FrozenClientRequest, FreezeRequestError> {
        let slf = match self.prep_for_sending() {
            Ok(slf) => slf,
            Err(e) => return Err(e.into()),
        };

        let request = FrozenClientRequest {
            head: Rc::new(slf.head),
            addr: slf.addr,
            response_decompress: slf.response_decompress,
            timeout: slf.timeout,
            config: slf.config,
        };

        Ok(request)
    }
/// Freeze request builder and construct `FrozenClientRequest`,
/// which could be used for sending same request multiple times.
Freeze request builder and construct `FrozenClientRequest`,
which could be used for sending same request multiple times.
Freeze request builder and construct ` FrozenClientRequest ` which could be used for sending same request multiple times .
pub fn freeze(self) -> Result<FrozenClientRequest, FreezeRequestError> {
        let slf = match self.prep_for_sending() {
            Ok(slf) => slf,
            Err(e) => return Err(e.into()),
        };
        let request = FrozenClientRequest {
            head: Rc::new(slf.head),
            addr: slf.addr,
            response_decompress: slf.response_decompress,
            timeout: slf.timeout,
            config: slf.config,
        };
        Ok(request)
    }
pub fn freeze ( self ) -> Result < FrozenClientRequest , FreezeRequestError > { let slf = match self . prep_for_sending ( ) { Ok ( slf ) => slf , Err ( e ) => return Err ( e . into ( ) ) , } ; let request = FrozenClientRequest { head : Rc :: new ( slf . head ) , addr : slf . addr , response_decompress : slf . response_decompress , timeout : slf . timeout , config : slf . config , } ; Ok ( request ) }
Freeze request builder and construct `FrozenClientRequest`,
which could be used for sending same request multiple times.
Freeze request builder and construct ` FrozenClientRequest ` which could be used for sending same request multiple times .
self
self