You are here

public function CurlRequest::get in Smart IP 6.2

Same name and namespace in other branches
  1. 7.2 includes/vendor/maxmind/web-service-common/src/WebService/Http/CurlRequest.php \MaxMind\WebService\Http\CurlRequest::get()

Return value

mixed

Overrides Request::get

File

includes/vendor/maxmind/web-service-common/src/WebService/Http/CurlRequest.php, line 41

Class

CurlRequest
This class is for internal use only. Semantic versioning does not not apply. @package MaxMind\WebService\Http @internal

Namespace

MaxMind\WebService\Http

Code

public function get() {
  $curl = $this
    ->createCurl();
  curl_setopt($curl, CURLOPT_HTTPGET, true);
  return $this
    ->execute($curl);
}