pub fn request_blocking<'a, T>(
        &'a self,
        method: Method,
        url: Url,
        headers: HeaderMap,
        body: Body<'a, T>,
    ) -> Result<Response<Bytes>>
    where
        C: BlockingClient,
        T: Serialize,
    {
        let client = &self.pretend.client;
        let (headers, body) = self.prepare_request(headers, body)?;
        client.execute(method, url, headers, body)
    }
/// Execute a blocking request
///
/// Execute a request from request components.
/// Serialize the body if needed.
Execute a blocking request
Execute a request from request components.
Serialize the body if needed.
Execute a blocking request Execute a request from request components . Serialize the body if needed .
pub fn request_blocking<'a, T>(
        &'a self,
        method: Method,
        url: Url,
        headers: HeaderMap,
        body: Body<'a, T>,
    ) -> Result<Response<Bytes>>
    where
        C: BlockingClient,
        T: Serialize,
    {
        let client = &self.pretend.client;
        let (headers, body) = self.prepare_request(headers, body)?;
        client.execute(method, url, headers, body)
    }
pub fn request_blocking < ' a , T > ( & ' a self , method : Method , url : Url , headers : HeaderMap , body : Body < ' a , T > , ) -> Result < Response < Bytes > > where C : BlockingClient , T : Serialize , { let client = & self . pretend . client ; let ( headers , body ) = self . prepare_request ( headers , body ) ? ; client . execute ( method , url , headers , body ) }
Execute a blocking request
Execute a request from request components.
Execute a blocking request Execute a request from request components .
&'a self
method
Method
url
Url
headers
HeaderMap
body
Body<'a, T>
&'a self
method
Method
url
Url
headers
HeaderMap
body
Body<'a, T>