Open Journal Systems  3.3.0
Psr\Http\Client\RequestExceptionInterface Interface Reference
Inheritance diagram for Psr\Http\Client\RequestExceptionInterface:
Psr\Http\Client\ClientExceptionInterface Http\Client\Exception\RequestException Http\Client\Exception\HttpException

Public Member Functions

 getRequest ()
 

Detailed Description

Exception for when a request failed.

Examples:

  • Request is invalid (e.g. method is missing)
  • Runtime request errors (e.g. the body stream is not seekable)

Definition at line 14 of file vendor/psr/http-client/src/RequestExceptionInterface.php.

Member Function Documentation

◆ getRequest()

Psr\Http\Client\RequestExceptionInterface::getRequest ( )

Returns the request.

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

Returns
RequestInterface

The documentation for this interface was generated from the following file: