protected function submitCurlRequest($curlUrl)
    {
        $session = curl_init();
        
        curl_setopt($session, CURLOPT_URL, $curlUrl);
        curl_setopt($session, CURLOPT_HEADER, 0);
        curl_setopt($session, CURLOPT_RETURNTRANSFER, 1);
        
        if (!empty($this->options)) {
            foreach ($this->options as $key => $value) {
                curl_setopt($session, $key, $value);
            }
        }
        
        $rawResponse = curl_exec($session);

        curl_close($session);

        return $rawResponse;
    }
protected function submitCurlRequest($curlUrl)
    {
        $session = curl_init();
        
        curl_setopt($session, CURLOPT_URL, $curlUrl);
        curl_setopt($session, CURLOPT_HEADER, 0);
        curl_setopt($session, CURLOPT_RETURNTRANSFER, 1);
        
        if (!empty($this->options)) {
            foreach ($this->options as $key => $value) {
                curl_setopt($session, $key, $value);
            }
        }
        
        $rawResponse = curl_exec($session);

        curl_close($session);

        return $rawResponse;
    }
protected function submitCurlRequest ( $ curlUrl ) { $ session = curl_init ( ) ; curl_setopt ( $ session , CURLOPT_URL , $ curlUrl ) ; curl_setopt ( $ session , CURLOPT_HEADER , 0 ) ; curl_setopt ( $ session , CURLOPT_RETURNTRANSFER , 1 ) ; if ( ! empty ( $ this -> options ) ) { foreach ( $ this -> options as $ key => $ value ) { curl_setopt ( $ session , $ key , $ value ) ; } } $ rawResponse = curl_exec ( $ session ) ; curl_close ( $ session ) ; return $ rawResponse ; }
Build the curl resource and execute it, to return the raw result.

@param string $curlUrl
@return mixed
Build the curl resource and execute it to return the raw result .