Lines Matching refs:response
31 $response = $client->get($params);
41 match the HTTP response code provided by {es}. For example, attempting to GET a
46 to deal with the response body rather than catch exceptions (often useful in
89 It should be noted that the response is a string which may or may not be encoded
90 as JSON. In the first example, the response body is a complete JSON object which
93 Since the client has no way of knowing what the exception response will contain,
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
133 Without verbosity, all you see is the response body:
143 $response = $client->get($params);
144 print_r($response);
175 $response = $client->get($params);
176 print_r($response);
286 $response = $client->get($params);