You are here

RequestFactory.php in Smart IP 6.2

File

includes/vendor/maxmind/web-service-common/src/WebService/Http/RequestFactory.php
View source
<?php

namespace MaxMind\WebService\Http;


/**
 * Class RequestFactory
 * @package MaxMind\WebService\Http
 * @internal
 */
class RequestFactory {
  public function __construct() {
  }

  /**
   * @param $url
   * @param $options
   * @return CurlRequest
   */
  public function request($url, $options) {
    return new CurlRequest($url, $options);
  }

}

Classes

Namesort descending Description
RequestFactory Class RequestFactory @package MaxMind\WebService\Http @internal