ZF-7040: Get the Handle Ressource from Zend_Http_Client_Adapter_Curl

Issue Type: Improvement Created: 2009-06-18T01:36:17.000+0000 Last Updated: 2009-07-05T02:53:13.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: MARTIN Nicolas (cocorambo) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_Http_Client

Related issues: Attachments:


In order to use curl method like curl_getinfo, curl_error and curl_errno, I think it would be great to add this method to the Zend_Http_Client_Adapter_Curl class

<pre class="highlight">
public function getHandleRessource()
    return $this->_curl;

or directly multiple methods

<pre class="highlight">
public function getInfo()
    return curl_getinfo($this->_curl);

public function getError()
    return curl_error($this->_curl);

public function getErrno()
    return curl_errno($this->_curl);



Posted by Benjamin Eberlei (beberlei) on 2009-07-05T02:53:13.000+0000

Added a method getHandle() on the cURL Adapter, which returns the current handle.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.