pub fn request(&self, method: Method, endpoint: &str) -> Result<Request> {
        let url = format!("{}{}", self.base_url, endpoint);
        let mut handle = self.shared_handle.borrow_mut();
        handle.reset();
        Request::new(handle, method, &url)?.with_user_agent(&self.user_agent)
    }
/// Make a specific method request.
Make a specific method request.
Make a specific method request .
pub fn request(&self, method: Method, endpoint: &str) -> Result<Request> {
        let url = format!("{}{}", self.base_url, endpoint);
        let mut handle = self.shared_handle.borrow_mut();
        handle.reset();
        Request::new(handle, method, &url)?.with_user_agent(&self.user_agent)
    }
pub fn request ( & self , method : Method , endpoint : & str ) -> Result < Request > { let url = format ! ( " " self base_url endpoint ) ; let mut handle = self . shared_handle . borrow_mut ( ) ; handle . reset ( ) ; Request :: new ( handle , method , & url ) ? . with_user_agent ( & self . user_agent ) }
Make a specific method request.
Make a specific method request .
&self
method
Method
endpoint
&str
&self
method
Method
endpoint
&str