pipe streams through Socket.io
Stream#pipe to send data to clients or servers.
socket.io (or another web socket abstraction that gives a remote
with a interface for creating streams.
npm install browser-stream
var bs = iovar domnode = //seevar opts = options: 'pass an optional object with the createReadStream message. maybe useful!')//pipe the 'whatever' stream to the dom with dominode.bs
io = io //seevar _bs =iosockets
this will connect
whatever to the
Dominode stream, rendering it, in the browser!
var _bs =iosockets
ReadableStream from the other side.
the other side of connection will emit a writable stream that is connected to this stream.
WritableStream to the other side.
WritableStream, the other side will emit a
ReadableStream connected to this stream.
Stream to the other side which is both readable and writable.
Stream, the other side will emit a
Stream connected to this stream.
note to self, references to a class (
Stream) should be capitalized, and in backticks. references to an instance should be lowercase, and not in backticks unless refuring to a specific variable in a code example.