added new socket manager, errorhandling and testing is not finished yet
This commit is contained in:
20
libs/React/Stream/ReadableStreamInterface.php
Normal file
20
libs/React/Stream/ReadableStreamInterface.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace React\Stream;
|
||||
|
||||
use Evenement\EventEmitterInterface;
|
||||
|
||||
/**
|
||||
* @event data
|
||||
* @event end
|
||||
* @event error
|
||||
* @event close
|
||||
*/
|
||||
interface ReadableStreamInterface extends EventEmitterInterface
|
||||
{
|
||||
public function isReadable();
|
||||
public function pause();
|
||||
public function resume();
|
||||
public function pipe(WritableStreamInterface $dest, array $options = array());
|
||||
public function close();
|
||||
}
|
Reference in New Issue
Block a user