You are here

class RequestFactory in Smart IP 7.2

Same name and namespace in other branches
  1. 6.2 includes/vendor/maxmind/web-service-common/src/WebService/Http/RequestFactory.php \MaxMind\WebService\Http\RequestFactory

Class RequestFactory @package MaxMind\WebService\Http @internal

Hierarchy

Expanded class hierarchy of RequestFactory

1 file declares its use of RequestFactory
Client.php in includes/vendor/maxmind/web-service-common/src/WebService/Client.php

File

includes/vendor/maxmind/web-service-common/src/WebService/Http/RequestFactory.php, line 10

Namespace

MaxMind\WebService\Http
View source
class RequestFactory {
  public function __construct() {
  }

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

}

Members