0.0.4 • Published 10 years ago

telehash-stream v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

telesocket

Adding stream support to telehash-js channels, also implements the sock extension.

Usage

var self = new require("telehash-js").switch();
require("telehash-stream").install(self);

// on any channel created outgoing or received incoming do this to get a full read/write binary stream for that channel
var stream = chan.wrap("stream");

TODO: add a high level friendly self.stream("hashname") style api

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago