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

Breadcrumb

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

function NetworkExceptionInterface::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 NetworkExceptionInterface::getRequest()
ConnectException::getRequest in vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php
Get the request that caused the exception

File

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

Class

NetworkExceptionInterface
Thrown when the request cannot be completed because of network issues.

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