lib/Elastica/Transport/Http.php
protected function _setupCurl($curlConnection)
    {
        if ($this->getConnection()->hasConfig('curl')) {
            foreach ($this->getConnection()->getConfig('curl') as $key => $param) {
                \curl_setopt($curlConnection, $key, $param);
            }
        }
    }
protected function _setupCurl($curlConnection)
    {
        if ($this->getConnection()->hasConfig('curl')) {
            foreach ($this->getConnection()->getConfig('curl') as $key => $param) {
                \curl_setopt($curlConnection, $key, $param);
            }
        }
    }
protected function _setupCurl ( $ curlConnection ) { if ( $ this -> getConnection ( ) -> hasConfig ( 'curl' ) ) { foreach ( $ this -> getConnection ( ) -> getConfig ( 'curl' ) as $ key => $ param ) { \ curl_setopt ( $ curlConnection , $ key , $ param ) ; } } }
Called to add additional curl params.

@param resource $curlConnection Curl connection
Called to add additional curl params .