Hi all,

I use Zend_Http_Client with Zend_Http_Client_Adapter_Curl and I would like
to get more informations and so use curl_getinfo($ch) [$ch is handle
ressource]
This handle ressource is the _curl property in
Zend_Http_Client_Adapter_Curl. How get it ?

For the moment I create my own My_Http_Client_Adapter_Curl and add method

class My_Http_Client_Adapter_Curl extends Zend_Http_Client_Adapter_Curl
{
    public function getInfo()
    {
        return curl_getinfo($this->_curl);
    }
}

Is it the best way to do?
Or something can be change directly in the framework in a future release ?

Thanks

Reply via email to