Home
last modified time | relevance | path

Searched refs:connectionParams (Results 1 – 4 of 4) sorted by relevance

/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/
H A DConnectionFactory.php24 private $connectionParams; variable in Elasticsearch\\Connections\\ConnectionFactory
46 …public function __construct(callable $handler, array $connectionParams, SerializerInterface $seria… argument
49 $this->connectionParams = $connectionParams;
60 $this->connectionParams,
H A DConnection.php86 protected $connectionParams; variable in Elasticsearch\\Connections\\Connection
118 array $connectionParams, argument
133 $connectionParams['client']['curl'][CURLOPT_HTTPAUTH] = CURLAUTH_BASIC;
134 …$connectionParams['client']['curl'][CURLOPT_USERPWD] = $hostDetails['user'].':'.$hostDetails['pass…
137 $connectionParams['client']['curl'][CURLOPT_PORT] = $hostDetails['port'];
139 if (isset($connectionParams['client']['headers'])) {
140 $this->headers = $connectionParams['client']['headers'];
141 unset($connectionParams['client']['headers']);
165 $this->connectionParams = $connectionParams;
203 $request = array_replace_recursive($request, $this->connectionParams, $options);
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/
H A DClientBuilder.php102 private $connectionParams; variable in Elasticsearch\\ClientBuilder
335 $this->connectionParams = $params;
432 if (is_null($this->connectionParams)) {
433 $this->connectionParams = [];
438 if (! isset($this->connectionParams['client']['headers'])) {
439 $this->connectionParams['client']['headers'] = [];
441 if (! isset($this->connectionParams['client']['headers']['Content-Type'])) {
442 $this->connectionParams['client']['headers']['Content-Type'] = ['application/json'];
444 if (! isset($this->connectionParams['client']['headers']['Accept'])) {
445 $this->connectionParams['client']['headers']['Accept'] = ['application/json'];
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
H A Dconfiguration.asciidoc305 public function __construct($handler, array $connectionParams,
328 $connectionParams,