public function getRequestHandle(RequestContext $context)
    {
        $curlHandle = curl_init();

        $defaults = $this->getDefaultSettings($context);

        $defaults += $this->getCurlTimeoutSettings($context);

        $defaults += $this->getCurlSslSettings();

        $defaults += $this->getProxySettings($context);

        curl_setopt_array(
            $curlHandle, //@codeCoverageIgnore
            $context->getCurlOptions() + $defaults + $this->getRequestDataAndMethodOptions($context)
        );

        return $curlHandle;
    }
public function getRequestHandle(RequestContext $context)
    {
        $curlHandle = curl_init();

        $defaults = $this->getDefaultSettings($context);

        $defaults += $this->getCurlTimeoutSettings($context);

        $defaults += $this->getCurlSslSettings();

        $defaults += $this->getProxySettings($context);

        curl_setopt_array(
            $curlHandle, //@codeCoverageIgnore
            $context->getCurlOptions() + $defaults + $this->getRequestDataAndMethodOptions($context)
        );

        return $curlHandle;
    }
public function getRequestHandle ( RequestContext $ context ) { $ curlHandle = curl_init ( ) ; $ defaults = $ this -> getDefaultSettings ( $ context ) ; $ defaults += $ this -> getCurlTimeoutSettings ( $ context ) ; $ defaults += $ this -> getCurlSslSettings ( ) ; $ defaults += $ this -> getProxySettings ( $ context ) ; curl_setopt_array ( $ curlHandle , //@codeCoverageIgnore $ context -> getCurlOptions ( ) + $ defaults + $ this -> getRequestDataAndMethodOptions ( $ context ) ) ; return $ curlHandle ; }
Get a customized request handler to perform calls

@param RequestContext $context

@return resource
Get a customized request handler to perform calls