stream muxer for connection reuse test

This commit is contained in:
David Dias
2015-09-23 17:25:21 +01:00
parent 0040be765d
commit 168d01befd
2 changed files with 62 additions and 197 deletions

View File

@ -34,6 +34,9 @@ function Swarm (peerInfo) {
// options: options }
self.muxers = {}
// for connection reuse
self.identify = false
// public interface
self.addTransport = function (name, transport, options, dialOptions, listenOptions, callback) {