public function RequestException::hasResponse in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/guzzle/src/Exception/RequestException.php \GuzzleHttp\Exception\RequestException::hasResponse()
Check if a response was received
Return value
bool
1 method overrides RequestException::hasResponse()
- ConnectException::hasResponse in vendor/
guzzlehttp/ guzzle/ src/ Exception/ ConnectException.php
File
- vendor/
guzzlehttp/ guzzle/ src/ Exception/ RequestException.php, line 125
Class
- RequestException
- HTTP Request exception
Namespace
GuzzleHttp\ExceptionCode
public function hasResponse() {
return $this->response !== null;
}