{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues/366","labels_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues/366/comments","events_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues/366/events","html_url":"https://github.com/GoogleChrome/chrome-app-samples/pull/366","id":58843365,"number":366,"title":"support utf-8.","user":{"login":"youkinjoh","id":2393395,"avatar_url":"https://avatars.githubusercontent.com/u/2393395?v=3","gravatar_id":"","url":"https://api.github.com/users/youkinjoh","html_url":"https://github.com/youkinjoh","followers_url":"https://api.github.com/users/youkinjoh/followers","following_url":"https://api.github.com/users/youkinjoh/following{/other_user}","gists_url":"https://api.github.com/users/youkinjoh/gists{/gist_id}","starred_url":"https://api.github.com/users/youkinjoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youkinjoh/subscriptions","organizations_url":"https://api.github.com/users/youkinjoh/orgs","repos_url":"https://api.github.com/users/youkinjoh/repos","events_url":"https://api.github.com/users/youkinjoh/events{/privacy}","received_events_url":"https://api.github.com/users/youkinjoh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/labels/work-in-progress","name":"work-in-progress","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-25T03:03:04Z","updated_at":"2015-03-31T11:43:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/pulls/366","html_url":"https://github.com/GoogleChrome/chrome-app-samples/pull/366","diff_url":"https://github.com/GoogleChrome/chrome-app-samples/pull/366.diff","patch_url":"https://github.com/GoogleChrome/chrome-app-samples/pull/366.patch"},"body":"modify WebSocket Server supported utf-8.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues/comments/88055834","html_url":"https://github.com/GoogleChrome/chrome-app-samples/pull/366#issuecomment-88055834","issue_url":"https://api.github.com/repos/GoogleChrome/chrome-app-samples/issues/366","id":88055834,"user":{"login":"youkinjoh","id":2393395,"avatar_url":"https://avatars.githubusercontent.com/u/2393395?v=3","gravatar_id":"","url":"https://api.github.com/users/youkinjoh","html_url":"https://github.com/youkinjoh","followers_url":"https://api.github.com/users/youkinjoh/followers","following_url":"https://api.github.com/users/youkinjoh/following{/other_user}","gists_url":"https://api.github.com/users/youkinjoh/gists{/gist_id}","starred_url":"https://api.github.com/users/youkinjoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youkinjoh/subscriptions","organizations_url":"https://api.github.com/users/youkinjoh/orgs","repos_url":"https://api.github.com/users/youkinjoh/repos","events_url":"https://api.github.com/users/youkinjoh/events{/privacy}","received_events_url":"https://api.github.com/users/youkinjoh/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T11:43:31Z","updated_at":"2015-03-31T11:43:31Z","body":"I will agree CLA after.\r\n\r\n> For info, WebSocket Server was not listening yet when DOMContentLoaded event was triggered which mean my web socket could not be created at that time. I understand now why your example had a setTimeout in it... \r\n\r\nSorry...\r\nI can't use English well than Japanese.\r\nI tried to talk in code, but it seems to have failed.\r\n\r\n> Do you think we could update http.Server listen() to return a callback when port is actually opened?\r\n\r\nThat mean node.js style?\r\n\r\nhttps://nodejs.org/api/http.html#http_server_listen_port_hostname_backlog_callback\r\nhttps://nodejs.org/api/http.html#http_server_listen_path_callback\r\nhttps://nodejs.org/api/http.html#http_server_listen_handle_callback\r\n\r\nIf so, I think good idea.\r\n\r\n\r\n\r\n"}}