mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
Fixed handshake packet
This commit is contained in:
@@ -49,7 +49,8 @@ Socket.prototype.onOpen = function () {
|
||||
this.transport.send({
|
||||
type: 'open'
|
||||
, data: JSON.stringify({
|
||||
upgrades: this.server.upgrades()
|
||||
sid: this.id
|
||||
, upgrades: this.server.upgrades(this.transport.name)
|
||||
, pingTimeout: this.server.pingTimeout
|
||||
, pingInterval: this.server.pingInterval
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user