original_string: protected function response($response) {
      // Check for HTTP response error codes.
      if ($this->client->error) {
        $this->onErrorResponse(
          $this->client->errorCode,
          $this->client->errorMessage,
          $response
        );
      }
      else {
        $this->onSuccessfulResponse($response);
      }
      return $response;
    }
code: protected function response($response) {
      // Check for HTTP response error codes.
      if ($this->client->error) {
        $this->onErrorResponse(
          $this->client->errorCode,
          $this->client->errorMessage,
          $response
        );
      }
      else {
        $this->onSuccessfulResponse($response);
      }
      return $response;
    }
code_tokens: protected function response ( $ response ) { // Check for HTTP response error codes. if ( $ this -> client -> error ) { $ this -> onErrorResponse ( $ this -> client -> errorCode , $ this -> client -> errorMessage , $ response ) ; } else { $ this -> onSuccessfulResponse ( $ response ) ; } return $ response ; }
docstring: Preprocess HTTP response.
  
  @param (object) $response Structured object.
  
  @return (object) HTTP Response object.
docstring_tokens: Preprocess HTTP response .