I know this has been discussed here, but I just can't make it work. The documentation in Express.io is quite difused.
I have a running server and I want to set an event when someone access to it. This is my code for now:
var express = require('express.io');
var io = require("socket.io").listen(https);
...
var app = express();
app = require('express.io')();
app.https(options).io();
app.io.route('connect', function (req) {
console.log(req);
});
And it's not working.. it just doesn't detect any new connections. Any help here?