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

Breadcrumb

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

function RequestExceptionInterface::getRequest

Returns the request.

The request object MAY be a different object from the one passed to ClientInterface::sendRequest()

Return value

RequestInterface

1 method overrides RequestExceptionInterface::getRequest()
RequestException::getRequest in vendor/guzzlehttp/guzzle/src/Exception/RequestException.php
Get the request that caused the exception

File

vendor/psr/http-client/src/RequestExceptionInterface.php, line 23

Class

RequestExceptionInterface
Exception for when a request failed.

Namespace

Psr\Http\Client

Code

public function getRequest() : RequestInterface;

API Navigation

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