Skip to content

Commit

Permalink
Engine.io should be optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
lsm committed Apr 4, 2016
1 parent 4b0ace4 commit 7db600c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/transport/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ exports.tcp = require('./net/tcp')
exports.tls = require('./net/tls')

exports.eio = {
bind: require('./engine.io/bind'),
connect: require('./engine.io/connect')
bind: function(target, smq, options, callback) {
return require('./engine.io/bind')(target, smq, options, callback)
},
connect: function(target, smq, options, callback) {
return require('./engine.io/connect')(target, smq, options, callback)
}
}

0 comments on commit 7db600c

Please sign in to comment.