function RequestExceptionInterface::getRequest
Returns the request.
The request object MAY be a different object from the one passed to ClientInterface::sendRequest()
Return value
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\ClientCode
public function getRequest() : RequestInterface;