-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
I'm not sure if this is a feature, but no matter what I pass for transports and 'try multiple transports' if socket.io-client is running in node.js environment it always chooses websockets (or at least that is what the log says).
Here's an example: https://gist.github.com/3039375
Here's the log
[server] setup
info - socket.io started
[client] setup
debug - client authorized
info - handshake authorized 15864066021748055096
debug - setting request GET /socket.io/1/websocket/15864066021748055096
debug - set heartbeat interval for client 15864066021748055096
debug - client authorized for
debug - websocket writing 1::
[server] connected
[client] connected
[server] emitting msg
debug - websocket writing 5:::{"name":"msg"}
[client] received 1 msg
[server] got-it event
[server] emitting msg
debug - websocket writing 5:::{"name":"msg"}
[client] received 2 msg
[server] got-it event
[server] calling disconnect
info - booting client
info - transport end by forced client disconnection
debug - websocket writing 0::
info - transport end (booted)
debug - set close timeout for client 15864066021748055096
debug - cleared close timeout for client 15864066021748055096
debug - cleared heartbeat interval for client 15864066021748055096
[server] disconnect event
debug - discarding transport
[client] disconnect event
[server] emitting msg
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels