2020-11-01 07:20:14 +01:00
|
|
|
<?php
|
|
|
|
|
2022-07-13 10:40:19 +02:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2020-11-01 07:20:14 +01:00
|
|
|
namespace MaxMind\WebService\Http;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface Request.
|
|
|
|
*
|
|
|
|
* @internal
|
|
|
|
*/
|
|
|
|
interface Request
|
|
|
|
{
|
2022-07-13 10:40:19 +02:00
|
|
|
public function __construct(string $url, array $options);
|
2020-12-05 12:58:56 +01:00
|
|
|
|
2022-07-13 10:40:19 +02:00
|
|
|
public function post(string $body): array;
|
2020-12-05 12:58:56 +01:00
|
|
|
|
2022-07-13 10:40:19 +02:00
|
|
|
public function get(): array;
|
2020-11-01 07:20:14 +01:00
|
|
|
}
|