You are here

public function TransferStats::hasResponse in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/TransferStats.php \GuzzleHttp\TransferStats::hasResponse()

Returns true if a response was received.

Return value

bool

File

vendor/guzzlehttp/guzzle/src/TransferStats.php, line 64

Class

TransferStats
Represents data at the point after it was transferred either successfully or after a network error.

Namespace

GuzzleHttp

Code

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