2020-11-01 07:20:14 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace MaxMind\WebService\Http;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface Request.
|
|
|
|
*
|
|
|
|
* @internal
|
|
|
|
*/
|
|
|
|
interface Request
|
|
|
|
{
|
2022-08-05 09:52:36 +02:00
|
|
|
/**
|
|
|
|
* @param string $url
|
|
|
|
* @param array $options
|
|
|
|
*/
|
|
|
|
public function __construct($url, $options);
|
2020-12-05 12:58:56 +01:00
|
|
|
|
2022-08-05 09:52:36 +02:00
|
|
|
/**
|
|
|
|
* @param string $body
|
|
|
|
*
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function post($body);
|
2020-12-05 12:58:56 +01:00
|
|
|
|
2022-08-05 09:52:36 +02:00
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function get();
|
2020-11-01 07:20:14 +01:00
|
|
|
}
|