src/ResourceSocket.php
function pipe(\React\Stream\WritableStreamInterface $dest, array $options = array()) {
        return \React\Stream\Util::pipe($this, $dest, $options);
    }
function pipe(\React\Stream\WritableStreamInterface $dest, array $options = array()) {
        return \React\Stream\Util::pipe($this, $dest, $options);
    }
Pipes all the data from this readable source into the given writable destination.
Automatically sends all incoming data to the destination.
Automatically throttles the source based on what the destination can handle.
@param \React\Stream\WritableStreamInterface  $dest
@param array                                  $options
@return \React\Stream\WritableStreamInterface  $dest  Stream as-is