private function makeRequest($method, $path, $headers = array(), $params = '') {
        if (time() - $this->previousRequestTime < 1) {
            sleep(1);
        }        
        $response = call_user_func_array(array($this->http, $method), array($path, $headers, $params));
        $this->previousRequestTime = time();
        list($status, $headers, $body) = $response;
        return $this->processResponse($response);
    }
private function makeRequest($method, $path, $headers = array(), $params = '') {
        if (time() - $this->previousRequestTime < 1) {
            sleep(1);
        }        
        $response = call_user_func_array(array($this->http, $method), array($path, $headers, $params));
        $this->previousRequestTime = time();
        list($status, $headers, $body) = $response;
        return $this->processResponse($response);
    }
private function makeRequest ( $ method , $ path , $ headers = array ( ) , $ params = '' ) { if ( time ( ) - $ this -> previousRequestTime < 1 ) { sleep ( 1 ) ; } $ response = call_user_func_array ( array ( $ this -> http , $ method ) , array ( $ path , $ headers , $ params ) ) ; $ this -> previousRequestTime = time ( ) ; list ( $ status , $ headers , $ body ) = $ response ; return $ this -> processResponse ( $ response ) ; }
Method for implementing request retry logic

@param string $method HTTP request method
@param string $path Path to resource
@return array
Method for implementing request retry logic