added new socket manager, errorhandling and testing is not finished yet
This commit is contained in:
19
libs/React/Stream/WritableStreamInterface.php
Normal file
19
libs/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();
|
||||
}
|
Reference in New Issue
Block a user