mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
Begin WebSocket support for Broadcast and Player control
This commit is contained in:
parent
2b128b122d
commit
6adf8307c4
516 changed files with 64260 additions and 18 deletions
19
modules/React/Stream/WritableStreamInterface.php
Normal file
19
modules/React/Stream/WritableStreamInterface.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
namespace React\Stream;
|
||||
|
||||
use Evenement\EventEmitterInterface;
|
||||
|
||||
/**
|
||||
* @event drain
|
||||
* @event error
|
||||
* @event close
|
||||
* @event pipe
|
||||
*/
|
||||
interface WritableStreamInterface extends EventEmitterInterface
|
||||
{
|
||||
public function isWritable();
|
||||
public function write($data);
|
||||
public function end($data = null);
|
||||
public function close();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue