Closed phzbox closed 11 years ago
What's not working with Express 3? Have a look at the Socket.IO portion of this: https://github.com/visionmedia/express/wiki/Migrating-from-2.x-to-3.x
The examples are still using Express 2 but that could probably be updated now that Express 3 seems pretty finalized.
When you create the server in express 3 something like:
var serv = http.createServer(app).listen( ..... );
if you assign it to a object you can the pass that object to socket.io/backbone.io and everything seems to work fine for me.
var io = backboneio.listen(serv, ..... );
Hi, yes you are totally right. What wasn't working anymore was a way to share the session between connect/express and socket.io. Nothing to do with backbone.io, my mistake.
Any plan to support express3?