{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/10512","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/10512/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/10512/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/10512/events","html_url":"https://github.com/dart-lang/sdk/issues/10512","id":84536336,"number":10512,"title":"Convenience methods for WebSocket.isOpen, isClosed, etc","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Area-Library","name":"Area-Library","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Library-Html","name":"Library-Html","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Triaged","name":"Triaged","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-05-07T21:45:58Z","updated_at":"2015-06-04T22:51:21Z","closed_at":"2015-06-04T22:51:21Z","body":"*This issue was originally filed by @sethladd*\n_____\nFor HTML's WebSocket, we need to do this:\n\nwebSocket.readyState == WebSocket.OPEN\n\nIt would be much nicer to do this:\n\nwebSocket.isOpen\nwebSocket.isClosing\n\netc\n\nThanks!"}}