{"action":"closed","number":124,"pull_request":{"url":"https://api.github.com/repos/rstudio/shiny-examples/pulls/124","id":252868091,"node_id":"MDExOlB1bGxSZXF1ZXN0MjUyODY4MDkx","html_url":"https://github.com/rstudio/shiny-examples/pull/124","diff_url":"https://github.com/rstudio/shiny-examples/pull/124.diff","patch_url":"https://github.com/rstudio/shiny-examples/pull/124.patch","issue_url":"https://api.github.com/repos/rstudio/shiny-examples/issues/124","number":124,"state":"closed","locked":false,"title":"Add WebSocket example","user":{"login":"jcheng5","id":129551,"node_id":"MDQ6VXNlcjEyOTU1MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/129551?v=4","gravatar_id":"","url":"https://api.github.com/users/jcheng5","html_url":"https://github.com/jcheng5","followers_url":"https://api.github.com/users/jcheng5/followers","following_url":"https://api.github.com/users/jcheng5/following{/other_user}","gists_url":"https://api.github.com/users/jcheng5/gists{/gist_id}","starred_url":"https://api.github.com/users/jcheng5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcheng5/subscriptions","organizations_url":"https://api.github.com/users/jcheng5/orgs","repos_url":"https://api.github.com/users/jcheng5/repos","events_url":"https://api.github.com/users/jcheng5/events{/privacy}","received_events_url":"https://api.github.com/users/jcheng5/received_events","type":"User","site_admin":false},"body":"I think there's an opportunity to do something better for WebSocket + Shiny eventually, to have a more reactivity-oriented (rather than event-oriented) API that you can opt for. But this at least proves that the two do work together just fine.\r\n\r\n(The event handlers don't have a reactive domain, that threw me for a little bit as `shinyjs::toggleState` expects them and doesn't give you a way to pass them in explicitly)","created_at":"2019-02-13T22:18:09Z","updated_at":"2019-02-19T16:26:31Z","closed_at":"2019-02-19T16:26:31Z","merged_at":"2019-02-19T16:26:31Z","merge_commit_sha":"a885d6a09bce865c4aa47e138be10b5745bd800c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rstudio/shiny-examples/pulls/124/commits","review_comments_url":"https://api.github.com/repos/rstudio/shiny-examples/pulls/124/comments","review_comment_url":"https://api.github.com/repos/rstudio/shiny-examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rstudio/shiny-examples/issues/124/comments","statuses_url":"https://api.github.com/repos/rstudio/shiny-examples/statuses/d24a1673dec2bcb782bb9caac4dd04680c0a867e","head":{"label":"rstudio:joe/ws-example","ref":"joe/ws-example","sha":"d24a1673dec2bcb782bb9caac4dd04680c0a867e","user":{"login":"rstudio","id":513560,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxMzU2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/513560?v=4","gravatar_id":"","url":"https://api.github.com/users/rstudio","html_url":"https://github.com/rstudio","followers_url":"https://api.github.com/users/rstudio/followers","following_url":"https://api.github.com/users/rstudio/following{/other_user}","gists_url":"https://api.github.com/users/rstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudio/subscriptions","organizations_url":"https://api.github.com/users/rstudio/orgs","repos_url":"https://api.github.com/users/rstudio/repos","events_url":"https://api.github.com/users/rstudio/events{/privacy}","received_events_url":"https://api.github.com/users/rstudio/received_events","type":"Organization","site_admin":false},"repo":{"id":13722949,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcyMjk0OQ==","name":"shiny-examples","full_name":"rstudio/shiny-examples","private":false,"owner":{"login":"rstudio","id":513560,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxMzU2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/513560?v=4","gravatar_id":"","url":"https://api.github.com/users/rstudio","html_url":"https://github.com/rstudio","followers_url":"https://api.github.com/users/rstudio/followers","following_url":"https://api.github.com/users/rstudio/following{/other_user}","gists_url":"https://api.github.com/users/rstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudio/subscriptions","organizations_url":"https://api.github.com/users/rstudio/orgs","repos_url":"https://api.github.com/users/rstudio/repos","events_url":"https://api.github.com/users/rstudio/events{/privacy}","received_events_url":"https://api.github.com/users/rstudio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rstudio/shiny-examples","description":null,"fork":false,"url":"https://api.github.com/repos/rstudio/shiny-examples","forks_url":"https://api.github.com/repos/rstudio/shiny-examples/forks","keys_url":"https://api.github.com/repos/rstudio/shiny-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rstudio/shiny-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rstudio/shiny-examples/teams","hooks_url":"https://api.github.com/repos/rstudio/shiny-examples/hooks","issue_events_url":"https://api.github.com/repos/rstudio/shiny-examples/issues/events{/number}","events_url":"https://api.github.com/repos/rstudio/shiny-examples/events","assignees_url":"https://api.github.com/repos/rstudio/shiny-examples/assignees{/user}","branches_url":"https://api.github.com/repos/rstudio/shiny-examples/branches{/branch}","tags_url":"https://api.github.com/repos/rstudio/shiny-examples/tags","blobs_url":"https://api.github.com/repos/rstudio/shiny-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rstudio/shiny-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rstudio/shiny-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/rstudio/shiny-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rstudio/shiny-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/rstudio/shiny-examples/languages","stargazers_url":"https://api.github.com/repos/rstudio/shiny-examples/stargazers","contributors_url":"https://api.github.com/repos/rstudio/shiny-examples/contributors","subscribers_url":"https://api.github.com/repos/rstudio/shiny-examples/subscribers","subscription_url":"https://api.github.com/repos/rstudio/shiny-examples/subscription","commits_url":"https://api.github.com/repos/rstudio/shiny-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/rstudio/shiny-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/rstudio/shiny-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/rstudio/shiny-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/rstudio/shiny-examples/contents/{+path}","compare_url":"https://api.github.com/repos/rstudio/shiny-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rstudio/shiny-examples/merges","archive_url":"https://api.github.com/repos/rstudio/shiny-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rstudio/shiny-examples/downloads","issues_url":"https://api.github.com/repos/rstudio/shiny-examples/issues{/number}","pulls_url":"https://api.github.com/repos/rstudio/shiny-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/rstudio/shiny-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/rstudio/shiny-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rstudio/shiny-examples/labels{/name}","releases_url":"https://api.github.com/repos/rstudio/shiny-examples/releases{/id}","deployments_url":"https://api.github.com/repos/rstudio/shiny-examples/deployments","created_at":"2013-10-20T17:05:23Z","updated_at":"2019-02-19T14:32:47Z","pushed_at":"2019-02-19T16:26:31Z","git_url":"git://github.com/rstudio/shiny-examples.git","ssh_url":"git@github.com:rstudio/shiny-examples.git","clone_url":"https://github.com/rstudio/shiny-examples.git","svn_url":"https://github.com/rstudio/shiny-examples","homepage":null,"size":56518,"stargazers_count":1074,"watchers_count":1074,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2785,"mirror_url":null,"archived":false,"open_issues_count":35,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2785,"open_issues":35,"watchers":1074,"default_branch":"master"}},"base":{"label":"rstudio:master","ref":"master","sha":"f94483c5cd9053f4dbce0a648e2d23ab43a57af5","user":{"login":"rstudio","id":513560,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxMzU2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/513560?v=4","gravatar_id":"","url":"https://api.github.com/users/rstudio","html_url":"https://github.com/rstudio","followers_url":"https://api.github.com/users/rstudio/followers","following_url":"https://api.github.com/users/rstudio/following{/other_user}","gists_url":"https://api.github.com/users/rstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudio/subscriptions","organizations_url":"https://api.github.com/users/rstudio/orgs","repos_url":"https://api.github.com/users/rstudio/repos","events_url":"https://api.github.com/users/rstudio/events{/privacy}","received_events_url":"https://api.github.com/users/rstudio/received_events","type":"Organization","site_admin":false},"repo":{"id":13722949,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcyMjk0OQ==","name":"shiny-examples","full_name":"rstudio/shiny-examples","private":false,"owner":{"login":"rstudio","id":513560,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxMzU2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/513560?v=4","gravatar_id":"","url":"https://api.github.com/users/rstudio","html_url":"https://github.com/rstudio","followers_url":"https://api.github.com/users/rstudio/followers","following_url":"https://api.github.com/users/rstudio/following{/other_user}","gists_url":"https://api.github.com/users/rstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudio/subscriptions","organizations_url":"https://api.github.com/users/rstudio/orgs","repos_url":"https://api.github.com/users/rstudio/repos","events_url":"https://api.github.com/users/rstudio/events{/privacy}","received_events_url":"https://api.github.com/users/rstudio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rstudio/shiny-examples","description":null,"fork":false,"url":"https://api.github.com/repos/rstudio/shiny-examples","forks_url":"https://api.github.com/repos/rstudio/shiny-examples/forks","keys_url":"https://api.github.com/repos/rstudio/shiny-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rstudio/shiny-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rstudio/shiny-examples/teams","hooks_url":"https://api.github.com/repos/rstudio/shiny-examples/hooks","issue_events_url":"https://api.github.com/repos/rstudio/shiny-examples/issues/events{/number}","events_url":"https://api.github.com/repos/rstudio/shiny-examples/events","assignees_url":"https://api.github.com/repos/rstudio/shiny-examples/assignees{/user}","branches_url":"https://api.github.com/repos/rstudio/shiny-examples/branches{/branch}","tags_url":"https://api.github.com/repos/rstudio/shiny-examples/tags","blobs_url":"https://api.github.com/repos/rstudio/shiny-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rstudio/shiny-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rstudio/shiny-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/rstudio/shiny-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rstudio/shiny-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/rstudio/shiny-examples/languages","stargazers_url":"https://api.github.com/repos/rstudio/shiny-examples/stargazers","contributors_url":"https://api.github.com/repos/rstudio/shiny-examples/contributors","subscribers_url":"https://api.github.com/repos/rstudio/shiny-examples/subscribers","subscription_url":"https://api.github.com/repos/rstudio/shiny-examples/subscription","commits_url":"https://api.github.com/repos/rstudio/shiny-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/rstudio/shiny-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/rstudio/shiny-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/rstudio/shiny-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/rstudio/shiny-examples/contents/{+path}","compare_url":"https://api.github.com/repos/rstudio/shiny-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rstudio/shiny-examples/merges","archive_url":"https://api.github.com/repos/rstudio/shiny-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rstudio/shiny-examples/downloads","issues_url":"https://api.github.com/repos/rstudio/shiny-examples/issues{/number}","pulls_url":"https://api.github.com/repos/rstudio/shiny-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/rstudio/shiny-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/rstudio/shiny-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rstudio/shiny-examples/labels{/name}","releases_url":"https://api.github.com/repos/rstudio/shiny-examples/releases{/id}","deployments_url":"https://api.github.com/repos/rstudio/shiny-examples/deployments","created_at":"2013-10-20T17:05:23Z","updated_at":"2019-02-19T14:32:47Z","pushed_at":"2019-02-19T16:26:31Z","git_url":"git://github.com/rstudio/shiny-examples.git","ssh_url":"git@github.com:rstudio/shiny-examples.git","clone_url":"https://github.com/rstudio/shiny-examples.git","svn_url":"https://github.com/rstudio/shiny-examples","homepage":null,"size":56518,"stargazers_count":1074,"watchers_count":1074,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2785,"mirror_url":null,"archived":false,"open_issues_count":35,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2785,"open_issues":35,"watchers":1074,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rstudio/shiny-examples/pulls/124"},"html":{"href":"https://github.com/rstudio/shiny-examples/pull/124"},"issue":{"href":"https://api.github.com/repos/rstudio/shiny-examples/issues/124"},"comments":{"href":"https://api.github.com/repos/rstudio/shiny-examples/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/rstudio/shiny-examples/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/rstudio/shiny-examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rstudio/shiny-examples/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/rstudio/shiny-examples/statuses/d24a1673dec2bcb782bb9caac4dd04680c0a867e"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"alandipert","id":26024,"node_id":"MDQ6VXNlcjI2MDI0","avatar_url":"https://avatars0.githubusercontent.com/u/26024?v=4","gravatar_id":"","url":"https://api.github.com/users/alandipert","html_url":"https://github.com/alandipert","followers_url":"https://api.github.com/users/alandipert/followers","following_url":"https://api.github.com/users/alandipert/following{/other_user}","gists_url":"https://api.github.com/users/alandipert/gists{/gist_id}","starred_url":"https://api.github.com/users/alandipert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alandipert/subscriptions","organizations_url":"https://api.github.com/users/alandipert/orgs","repos_url":"https://api.github.com/users/alandipert/repos","events_url":"https://api.github.com/users/alandipert/events{/privacy}","received_events_url":"https://api.github.com/users/alandipert/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":106,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"alandipert"}}