Lines Matching refs:options
200 * @param array $options
204 public function performRequest(string $method, string $uri, ?array $params = [], $body = null, array $options = [], Transport $transport = null)
211 if (isset($options['client']['headers']) && is_array($options['client']['headers'])) {
212 $headers = array_merge($this->headers, $options['client']['headers']);
233 $request = array_replace_recursive($request, $this->connectionParams, $options);
241 $future = $handler($request, $this, $transport, $options);
258 return function (array $request, Connection $connection, Transport $transport = null, $options) use ($handler) {
266 function ($response) use ($connection, $transport, $request, $options) {
301 $options
477 $options = [
485 $response = $this->performRequest('HEAD', '/', null, null, $options);
509 $options = [
516 return $this->performRequest('GET', '/_nodes/', null, null, $options);