summaryrefslogtreecommitdiffstats
path: root/vendor/maxmind/web-service-common/src/WebService/Http/Request.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vendor/maxmind/web-service-common/src/WebService/Http/Request.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/vendor/maxmind/web-service-common/src/WebService/Http/Request.php b/vendor/maxmind/web-service-common/src/WebService/Http/Request.php
new file mode 100644
index 0000000..283e05c
--- /dev/null
+++ b/vendor/maxmind/web-service-common/src/WebService/Http/Request.php
@@ -0,0 +1,29 @@
+<?php
+
+namespace MaxMind\WebService\Http;
+
+/**
+ * Interface Request.
+ *
+ * @internal
+ */
+interface Request
+{
+ /**
+ * @param string $url
+ * @param array $options
+ */
+ public function __construct($url, $options);
+
+ /**
+ * @param string $body
+ *
+ * @return mixed
+ */
+ public function post($body);
+
+ /**
+ * @return mixed
+ */
+ public function get();
+}