app/Ragnarok/Soul/RagnarokCurl.php
public function httpGetRequest($url)
    {
        // create curl resource
        $curl = curl_init();

        // set url
        curl_setopt($curl, CURLOPT_URL, $url);

        //return the transfer as a string
        curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);

        // $output contains the output string
        $response = curl_exec($curl);

        $resolve = $this->curlResponse->resolve($curl, $response);

        curl_close($curl);

        return $resolve;
    }
public function httpGetRequest($url)
    {
        // create curl resource
        $curl = curl_init();

        // set url
        curl_setopt($curl, CURLOPT_URL, $url);

        //return the transfer as a string
        curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);

        // $output contains the output string
        $response = curl_exec($curl);

        $resolve = $this->curlResponse->resolve($curl, $response);

        curl_close($curl);

        return $resolve;
    }
public function httpGetRequest ( $ url ) { // create curl resource $ curl = curl_init ( ) ; // set url curl_setopt ( $ curl , CURLOPT_URL , $ url ) ; //return the transfer as a string curl_setopt ( $ curl , CURLOPT_RETURNTRANSFER , 1 ) ; // $output contains the output string $ response = curl_exec ( $ curl ) ; $ resolve = $ this -> curlResponse -> resolve ( $ curl , $ response ) ; curl_close ( $ curl ) ; return $ resolve ; }
Make a GET HTTP request
@param $url
@return \Alfredoem\Ragnarok\Soul\RagnarokCurlResponse
Make a GET HTTP request