You are here

protected function SearchApiAcquiaSearchConnection::sendRawGet in Acquia Search for Search API 7.2

Central method for making a GET operation against this Solr Server

@override

Overrides SearchApiSolrConnection::sendRawGet

File

includes/v2/SearchApiAcquiaSearchConnection.php, line 186

Class

SearchApiAcquiaSearchConnection
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, array $options = array()) {
  $nonce = $this
    ->prepareRequest($url, $options);
  $response = $this
    ->makeHttpRequest($url, $options);
  $response = $this
    ->checkResponse($response);
  return $this
    ->authenticateResponse($response, $nonce, $url);
}