Files
CLOAK/vendor/maxmind/web-service-common/src/WebService/Http/Request.php
T

29 lines
490 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
namespace MaxMind\WebService\Http;
/**
* Interface Request.
*
* @internal
*/
interface Request
{
/**
* @param array<string, mixed> $options
*/
public function __construct(string $url, array $options);
/**
* @return array{0:int, 1:string|null, 2:string|null}
*/
public function post(string $body): array;
/**
* @return array{0:int, 1:string|null, 2:string|null}
*/
public function get(): array;
}