Lines Matching refs:client

5 than at a connection- or client-level. These are specified as part of the 
22 $client = ClientBuilder::create()->build();
27 'client' => [
31 $response = $client->get($params);
50 configure it in the `client` parameter of the request array. For instance, the
57 $client = ClientBuilder::create()->build();
62 'client' => [ 'ignore' => 404 ] <1>
64 echo $client->get($params);
75 $client = ClientBuilder::create()->build();
79 'client' => [ 'ignore' => [400, 404] ] <1>
81 echo $client->get($params);
93 Since the client has no way of knowing what the exception response will contain,
109 $client = ClientBuilder::create()->build();
115 'client' => [
122 $exists = $client->exists($params);
128 By default, the client only returns the response body. If you require more
130 so on), you can tell the client to return a more verbose response. This is
131 enabled via the `verbose` parameter in the client options.
137 $client = ClientBuilder::create()->build();
143 $response = $client->get($params);
166 $client = ClientBuilder::create()->build();
171 'client' => [
175 $response = $client->get($params);
255 `connect_timeout` parameters. These control the client-side, curl timeouts. The
263 Note: client-side timeouts *do not* mean that {es} aborts the request. {es} will
266 to your client. If your client kills connections rapidly with a timeout, only to
268 many connections because there is no "back-pressure" on the client. In these
276 $client = ClientBuilder::create()->build();
281 'client' => [
286 $response = $client->get($params);
292 The client supports asynchronous, batch processing of requests. This is enabled
294 parameter in the client options:
298 $client = ClientBuilder::create()->build();
303 'client' => [
307 $future = $client->get($params);
318 Normally, you specify SSL configurations when you create the client (see
323 client options:
327 $client = ClientBuilder::create()->build();
332 'client' => [
336 $result = $client->get($params);