Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. HttpException.php

function HttpException::getResponse

Returns the response.

Return value

ResponseInterface

File

vendor/php-http/httplug/src/Exception/HttpException.php, line 42

Class

HttpException
Thrown when a response was received but the request itself failed.

Namespace

Http\Client\Exception

Code

public function getResponse() {
    return $this->response;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal