aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/irequest.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/irequest.php')
-rw-r--r--lib/public/irequest.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/irequest.php b/lib/public/irequest.php
index 20fa543dd69..acfc4f3f1d0 100644
--- a/lib/public/irequest.php
+++ b/lib/public/irequest.php
@@ -168,6 +168,14 @@ interface IRequest {
public function getServerProtocol();
/**
+ * Returns the used HTTP protocol.
+ *
+ * @return string HTTP protocol. HTTP/2, HTTP/1.1 or HTTP/1.0.
+ * @since 8.2.0
+ */
+ public function getHttpProtocol();
+
+ /**
* Returns the request uri, even if the website uses one or more
* reverse proxies
* @return string