public function get($url, array $customHeaders = [])
    {
        return $this->handleFailover(function() use ($url, $customHeaders) {
            $response = $this->executeRequest(HttpHelper::METHOD_GET, $url, '', $customHeaders);

            return $this->parseResponse($response);
        });
    }
public function get($url, array $customHeaders = [])
    {
        return $this->handleFailover(function() use ($url, $customHeaders) {
            $response = $this->executeRequest(HttpHelper::METHOD_GET, $url, '', $customHeaders);

            return $this->parseResponse($response);
        });
    }
public function get ( $ url , array $ customHeaders = [ ] ) { return $ this -> handleFailover ( function ( ) use ( $ url , $ customHeaders ) { $ response = $ this -> executeRequest ( HttpHelper :: METHOD_GET , $ url , '' , $ customHeaders ) ; return $ this -> parseResponse ( $ response ) ; } ) ; }
Issue an HTTP GET request

@throws Exception

@param string $url - GET URL
@param array  $customHeaders

@return HttpResponse
Issue an HTTP GET request