aboutsummaryrefslogtreecommitdiff
path: root/includes/vendor/maxmind/web-service-common/src/WebService/Http/RequestFactory.php
blob: 099fb702cd94f0240545a9c64d8b1cc09b00b77a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php

namespace MaxMind\WebService\Http;

/**
 * Class RequestFactory.
 *
 * @internal
 */
class RequestFactory
{
    public function __construct()
    {
    }

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