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