mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
Merge pull request #337 from 3rd-Eden/handshakeData
Expose path and querystring in handshakeData
This commit is contained in:
@@ -835,6 +835,8 @@ Manager.prototype.handshakeData = function (data) {
|
||||
headers: data.headers
|
||||
, address: connectionAddress
|
||||
, time: (new Date).toString()
|
||||
, query: data.query
|
||||
, url: data.request.url
|
||||
, xdomain: !!data.request.headers.origin
|
||||
, secure: data.request.connection.secure
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user