aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Http/Client
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Http/Client')
-rw-r--r--lib/public/Http/Client/IClient.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/Http/Client/IClient.php b/lib/public/Http/Client/IClient.php
index ad4c018ab7b..e4f46d44e4d 100644
--- a/lib/public/Http/Client/IClient.php
+++ b/lib/public/Http/Client/IClient.php
@@ -14,6 +14,14 @@ namespace OCP\Http\Client;
* @since 8.1.0
*/
interface IClient {
+
+ /**
+ * Default request timeout for requests
+ *
+ * @since 31.0.0
+ */
+ public const DEFAULT_REQUEST_TIMEOUT = 30;
+
/**
* Sends a GET request
* @param string $uri