class CurlHandle

Immutable wrapper for a cURL handle

Hierarchy

Expanded class hierarchy of CurlHandle

2 files declare their use of CurlHandle

File

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

Namespace

Guzzle\Http\Curl
View source

Members

Namesort descending Modifiers Type Description Overrides
CurlHandle::$errorNo protected property
CurlHandle::$handle protected property
CurlHandle::$options protected property
CurlHandle::BODY_AS_STRING constant
CurlHandle::close public function Close the curl handle
CurlHandle::DEBUG constant
CurlHandle::factory public static function Factory method to create a new curl handle based on an HTTP request.
CurlHandle::getError public function Get the last error that occurred on the cURL handle
CurlHandle::getErrorNo public function Get the last error number that occurred on the cURL handle
CurlHandle::getHandle public function Get the wrapped curl handle
CurlHandle::getInfo public function Get cURL curl_getinfo data
CurlHandle::getOptions public function Get the cURL setopt options of the handle. Changing values in the return object will have no effect on the curl handle after it is created.
CurlHandle::getStderr public function Get the stderr output
CurlHandle::getUrl public function Get the URL that this handle is connecting to
CurlHandle::isAvailable public function Check if the handle is available and still OK
CurlHandle::parseCurlConfig public static function Parse the config and replace curl.* configurators into the constant based values so it can be used elsewhere
CurlHandle::PROGRESS constant
CurlHandle::setErrorNo public function Set the curl error number
CurlHandle::updateRequestFromTransfer public function Update a request based on the log messages of the CurlHandle
CurlHandle::__construct public function Construct a new CurlHandle object that wraps a cURL handle
CurlHandle::__destruct public function Destructor