summaryrefslogtreecommitdiffstats
path: root/lib/public/ieventsource.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/ieventsource.php')
-rw-r--r--lib/public/ieventsource.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/ieventsource.php b/lib/public/ieventsource.php
index ad5c44eb239..176d5677f0a 100644
--- a/lib/public/ieventsource.php
+++ b/lib/public/ieventsource.php
@@ -29,6 +29,7 @@ namespace OCP;
* use server side events with caution, to many open requests can hang the server
*
* The event source will initialize the connection to the client when the first data is sent
+ * @since 8.0.0
*/
interface IEventSource {
/**
@@ -38,11 +39,13 @@ interface IEventSource {
* @param mixed $data
*
* if only one parameter is given, a typeless message will be send with that parameter as data
+ * @since 8.0.0
*/
public function send($type, $data = null);
/**
* close the connection of the event source
+ * @since 8.0.0
*/
public function close();
}