20 lines
282 B
PHP
20 lines
282 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace MaxMind\WebService\Http;
|
|
|
|
/**
|
|
* Interface Request.
|
|
*
|
|
* @internal
|
|
*/
|
|
interface Request
|
|
{
|
|
public function __construct(string $url, array $options);
|
|
|
|
public function post(string $body): array;
|
|
|
|
public function get(): array;
|
|
}
|