You are here

public function RequestException::hasResponse in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Exception

Code

public function hasResponse() {
  return $this->response !== null;
}