{"action":"created","issue":{"url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/76","repository_url":"https://api.github.com/repos/alexhultman/uWebSockets","labels_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/76/comments","events_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/76/events","html_url":"https://github.com/alexhultman/uWebSockets/issues/76","id":151171803,"number":76,"title":"ws.upgradeReq undefined?","user":{"login":"gianksp","id":1526510,"avatar_url":"https://avatars.githubusercontent.com/u/1526510?v=3","gravatar_id":"","url":"https://api.github.com/users/gianksp","html_url":"https://github.com/gianksp","followers_url":"https://api.github.com/users/gianksp/followers","following_url":"https://api.github.com/users/gianksp/following{/other_user}","gists_url":"https://api.github.com/users/gianksp/gists{/gist_id}","starred_url":"https://api.github.com/users/gianksp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gianksp/subscriptions","organizations_url":"https://api.github.com/users/gianksp/orgs","repos_url":"https://api.github.com/users/gianksp/repos","events_url":"https://api.github.com/users/gianksp/events{/privacy}","received_events_url":"https://api.github.com/users/gianksp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alexhultman/uWebSockets/labels/high%20priority","name":"high priority","color":"0052cc"},{"url":"https://api.github.com/repos/alexhultman/uWebSockets/labels/js","name":"js","color":"1d76db"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/alexhultman/uWebSockets/milestones/3","html_url":"https://github.com/alexhultman/uWebSockets/milestones/v0.4.0","labels_url":"https://api.github.com/repos/alexhultman/uWebSockets/milestones/3/labels","id":1718954,"number":3,"title":"v0.4.0","description":"ws interface fixes, pass Engine.IO tests","creator":{"login":"alexhultman","id":3397140,"avatar_url":"https://avatars.githubusercontent.com/u/3397140?v=3","gravatar_id":"","url":"https://api.github.com/users/alexhultman","html_url":"https://github.com/alexhultman","followers_url":"https://api.github.com/users/alexhultman/followers","following_url":"https://api.github.com/users/alexhultman/following{/other_user}","gists_url":"https://api.github.com/users/alexhultman/gists{/gist_id}","starred_url":"https://api.github.com/users/alexhultman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexhultman/subscriptions","organizations_url":"https://api.github.com/users/alexhultman/orgs","repos_url":"https://api.github.com/users/alexhultman/repos","events_url":"https://api.github.com/users/alexhultman/events{/privacy}","received_events_url":"https://api.github.com/users/alexhultman/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":2,"state":"open","created_at":"2016-04-19T20:16:04Z","updated_at":"2016-05-08T18:10:02Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-04-26T15:52:28Z","updated_at":"2016-05-08T18:17:54Z","closed_at":null,"body":"Awesome library! having a little problem finding the request parameters\r\n\r\n```\r\n//Sample call ws://config.app.ws_port?key=myapikey\r\nvar wss = new WebSocketServer({ httpServer:server, port:config.app.ws_port });\r\nwss.on('connection', function(ws) {\r\n  //Obtain the key on connection and validate it\r\n  // var params = url.parse(ws.upgradeReq.url, true).query;\r\n  // var key    = params.key;      \r\n  console.log(ws.upgradeReq); //<-------- is undefined!!!!!?\r\n});\r\n```\r\nam I missing something?\r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/comments/217737463","html_url":"https://github.com/alexhultman/uWebSockets/issues/76#issuecomment-217737463","issue_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/76","id":217737463,"user":{"login":"alexhultman","id":3397140,"avatar_url":"https://avatars.githubusercontent.com/u/3397140?v=3","gravatar_id":"","url":"https://api.github.com/users/alexhultman","html_url":"https://github.com/alexhultman","followers_url":"https://api.github.com/users/alexhultman/followers","following_url":"https://api.github.com/users/alexhultman/following{/other_user}","gists_url":"https://api.github.com/users/alexhultman/gists{/gist_id}","starred_url":"https://api.github.com/users/alexhultman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexhultman/subscriptions","organizations_url":"https://api.github.com/users/alexhultman/orgs","repos_url":"https://api.github.com/users/alexhultman/repos","events_url":"https://api.github.com/users/alexhultman/events{/privacy}","received_events_url":"https://api.github.com/users/alexhultman/received_events","type":"User","site_admin":false},"created_at":"2016-05-08T18:17:54Z","updated_at":"2016-05-08T18:17:54Z","body":"This issue will be solved in #97 "}}