aboutsummaryrefslogtreecommitdiff
path: root/includes/vendor/maxmind/web-service-common/src/WebService/Http/Request.php
blob: 27bdd58ea972beb366e63ff77f0a2c11e60e0759 (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
27
28
29
<?php

namespace MaxMind\WebService\Http;

/**
 * Interface Request.
 *
 * @internal
 */
interface Request
{
    /**
     * @param $url
     * @param $options
     */
    public function __construct($url, $options);

    /**
     * @param $body
     *
     * @return mixed
     */
    public function post($body);

    /**
     * @return mixed
     */
    public function get();
}