public function CurlHandle::isAvailable

Check if the handle is available and still OK

Return value

bool

3 calls to CurlHandle::isAvailable()
CurlHandle::getError in drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlHandle.php
Get the last error that occurred on the cURL handle
CurlHandle::getErrorNo in drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlHandle.php
Get the last error number that occurred on the cURL handle
CurlHandle::getHandle in drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlHandle.php
Get the wrapped curl handle

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlHandle.php, line 276

Class

CurlHandle
Immutable wrapper for a cURL handle

Namespace

Guzzle\Http\Curl

Code

public function isAvailable() {
  return is_resource($this->handle);
}