You are here

public function Solr36Connector::serverRestPost in Search API Solr 4.x

Sends a REST POST request to the Solr server and returns the result.

Parameters

string $path: The path to append to the base URI.

string $command_json: The command to send encoded as JSON.

Return value

string The decoded response.

Throws

\Drupal\search_api_solr\SearchApiSolrException

Overrides SolrConnectorPluginBase::serverRestPost

File

modules/search_api_solr_legacy/src/Plugin/SolrConnector/Solr36Connector.php, line 132

Class

Solr36Connector
Class Solr36Connector.

Namespace

Drupal\search_api_solr_legacy\Plugin\SolrConnector

Code

public function serverRestPost($path, $command_json = '') {
  return [];
}