Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Access request path from connection #30

Closed
luciferous opened this Issue Nov 7, 2011 · 2 comments

Comments

Projects
None yet
3 participants

It'd be great to be able to do something like the following:

var handler = sockjs.createServer(options);
handler.on('connection', function(conn) {
    console.log(conn.request.path);
});

Duplicated by pull request #31.

@luciferous luciferous closed this Nov 7, 2011

@majek majek added a commit that referenced this issue Nov 7, 2011

@majek majek emergency patch for #30 23c3dd3

dvv commented Nov 10, 2011

I believe if path is needed, we should supply only path.

@majek majek reopened this Nov 18, 2011

@majek majek closed this in a155dbd Nov 18, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment