1 | <?php |
||
9 | class Eventsource extends Generic |
||
10 | { |
||
11 | protected $contentType = 'text/event-stream'; |
||
12 | protected $poll = true; |
||
13 | protected $pollMode = ['stream']; |
||
14 | protected $gcEnabled = true; |
||
15 | |||
16 | /** |
||
17 | * Send frame |
||
18 | * @param string $frame |
||
19 | * @return void |
||
20 | */ |
||
21 | public function sendFrame($frame) |
||
26 | |||
27 | /** |
||
28 | * Constructor |
||
29 | * @return void |
||
30 | */ |
||
31 | public function init() |
||
39 | } |
||
40 |