public function SolrConnectorInterface::serverRestGet in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::serverRestGet()
- 8 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::serverRestGet()
- 8.2 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::serverRestGet()
Sends a REST GET request to the Solr server and returns the result.
Parameters
string $path: The path to append to the base URI.
Return value
string The decoded response.
Throws
\Drupal\search_api_solr\SearchApiSolrException
1 method overrides SolrConnectorInterface::serverRestGet()
- SolrConnectorPluginBase::serverRestGet in src/
SolrConnector/ SolrConnectorPluginBase.php - Sends a REST GET request to the Solr server and returns the result.
File
- src/
SolrConnectorInterface.php, line 285
Class
- SolrConnectorInterface
- The Solr connector interface.
Namespace
Drupal\search_api_solrCode
public function serverRestGet($path);