Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/3rdparty/php-opencloud/lib/OpenCloud/Common/Request/HttpRequestInterface.php')
-rw-r--r--apps/files_external/3rdparty/php-opencloud/lib/OpenCloud/Common/Request/HttpRequestInterface.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/apps/files_external/3rdparty/php-opencloud/lib/OpenCloud/Common/Request/HttpRequestInterface.php b/apps/files_external/3rdparty/php-opencloud/lib/OpenCloud/Common/Request/HttpRequestInterface.php
new file mode 100644
index 00000000000..cbe3b5412a1
--- /dev/null
+++ b/apps/files_external/3rdparty/php-opencloud/lib/OpenCloud/Common/Request/HttpRequestInterface.php
@@ -0,0 +1,23 @@
+<?php
+
+namespace OpenCloud\Common\Request;
+
+/**
+ * The HttpRequest interface defines methods for wrapping CURL; this allows
+ * those methods to be stubbed out for unit testing, thus allowing us to
+ * test without actually making live calls.
+ */
+interface HttpRequestInterface
+{
+
+ public function SetOption($name, $value);
+
+ public function setheaders($arr);
+
+ public function SetHeader($header, $value);
+
+ public function Execute();
+
+ public function close();
+
+}