Lines Matching defs:service

18  * MaxMind web service. Please use the appropriate client API for the service
41 * * `host` - The host to use when connecting to the web service.
84 * @param string $service name of the service querying
101 public function post($service, $path, $input)
122 $service,
127 public function get($service, $path)
137 $service,
176 * @param string $service the name of the service
194 $service,
198 $this->handle4xx($statusCode, $contentType, $body, $service, $path);
200 $this->handle5xx($statusCode, $service, $path);
202 $this->handleUnexpectedStatus($statusCode, $service, $path);
205 return $this->handleSuccess($body, $service);
244 * @param string $service the service name
256 $service,
261 "Received a $statusCode error for $service with no body",
268 "Received a $statusCode error for $service with " .
278 "Received a $statusCode error for $service but could " .
304 * @param string $message the error message from the web service
305 * @param string $code the error code from the web service
367 * @param string $service the service name
372 private function handle5xx($statusCode, $service, $path)
375 "Received a server error ($statusCode) for $service",
383 * @param string $service the service name
388 private function handleUnexpectedStatus($statusCode, $service, $path)
392 "($statusCode) for $service",
400 * @param string $service the service name
407 private function handleSuccess($body, $service)
411 "Received a 200 response for $service but did not " .
419 "Received a 200 response for $service but could " .