{"action":"opened","issue":{"url":"https://api.github.com/repos/uWebSockets/uWebSockets/issues/444","repository_url":"https://api.github.com/repos/uWebSockets/uWebSockets","labels_url":"https://api.github.com/repos/uWebSockets/uWebSockets/issues/444/labels{/name}","comments_url":"https://api.github.com/repos/uWebSockets/uWebSockets/issues/444/comments","events_url":"https://api.github.com/repos/uWebSockets/uWebSockets/issues/444/events","html_url":"https://github.com/uWebSockets/uWebSockets/issues/444","id":206212660,"number":444,"title":"How to route different urls?","user":{"login":"WeissGotsman","id":22855561,"avatar_url":"https://avatars.githubusercontent.com/u/22855561?v=3","gravatar_id":"","url":"https://api.github.com/users/WeissGotsman","html_url":"https://github.com/WeissGotsman","followers_url":"https://api.github.com/users/WeissGotsman/followers","following_url":"https://api.github.com/users/WeissGotsman/following{/other_user}","gists_url":"https://api.github.com/users/WeissGotsman/gists{/gist_id}","starred_url":"https://api.github.com/users/WeissGotsman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeissGotsman/subscriptions","organizations_url":"https://api.github.com/users/WeissGotsman/orgs","repos_url":"https://api.github.com/users/WeissGotsman/repos","events_url":"https://api.github.com/users/WeissGotsman/events{/privacy}","received_events_url":"https://api.github.com/users/WeissGotsman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-08T14:26:12Z","updated_at":"2017-02-08T14:26:12Z","closed_at":null,"body":"Websocket:\r\n\r\nhow to make the server able to handle the following two urls \r\n\"ws://localhost:3000/A\" --> e.g. push message \"A\" every 10 seconds\r\n\"ws://localhost:3000/B\" --> e.g. push message \"B\" every 20 seconds\r\n\r\nlooks like map ports to different urls might be the most close solution?\r\n\r\nHTTP:\r\nIs there any example on how to setup an http server and make routes for different requests? the module seems partially done.\r\n\r\nMINOR ISSUES:\r\nin HTTPSocket.h, #undef DELETE because it's already defined in winnt.h\r\nlink ws2_32.lib on windows for example projects"}}
{"actor":{"display_login":"WeissGotsman"}}