Close the curl handle
File
- drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlHandle.php, line 263
Class
- CurlHandle
- Immutable wrapper for a cURL handle
Namespace
Guzzle\Http\Curl
Code
public function close() {
if (is_resource($this->handle)) {
curl_close($this->handle);
}
$this->handle = null;
}