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

Is it possible to log the transport method used? #779

furtivefelon opened this Issue Mar 3, 2012 · 2 comments


None yet
3 participants

Hi all,

I was just testing which transport method is used for IE clients (since apparently varnish doesn't work well with IE client even though websocket works fine through it). So I just want to log the transport used so i can debug the problem.

Thanks a lot :)


denisu commented Mar 4, 2012


io.sockets.on('connection', function(client) {
  console.log('client connected via ' + io.transports[client.id].name)

3rd-Eden commented Mar 4, 2012


@3rd-Eden 3rd-Eden closed this Mar 4, 2012

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