You are here

protected function AcquiaSearchService::_sendRawGet in Acquia Connector 7

Same name and namespace in other branches
  1. 7.3 acquia_search/Acquia_Search_Service.php \AcquiaSearchService::_sendRawGet()
  2. 7.2 acquia_search/Acquia_Search_Service.php \AcquiaSearchService::_sendRawGet()

Central method for making a GET operation against this Solr Server

@override

Overrides DrupalApacheSolrService::_sendRawGet

File

acquia_search/Acquia_Search_Service.php, line 93

Class

AcquiaSearchService
Starting point for the Solr API. Represents a Solr server resource and has methods for pinging, adding, deleting, committing, optimizing and searching.

Code

protected function _sendRawGet($url, $options = array()) {
  $nonce = $this
    ->prepareRequest($url, $options);
  $response = $this
    ->_makeHttpRequest($url, $options);
  $response = $this
    ->checkResponse($response);
  return $this
    ->authenticateResponse($response, $nonce, $url);
}