{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/mkalten/TUIO20_CPP/pulls/4","id":27982026,"html_url":"https://github.com/mkalten/TUIO20_CPP/pull/4","diff_url":"https://github.com/mkalten/TUIO20_CPP/pull/4.diff","patch_url":"https://github.com/mkalten/TUIO20_CPP/pull/4.patch","issue_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/issues/4","number":4,"state":"closed","locked":false,"title":"Add support for sending through WebSocket","user":{"login":"floe","id":90756,"avatar_url":"https://avatars.githubusercontent.com/u/90756?v=3","gravatar_id":"","url":"https://api.github.com/users/floe","html_url":"https://github.com/floe","followers_url":"https://api.github.com/users/floe/followers","following_url":"https://api.github.com/users/floe/following{/other_user}","gists_url":"https://api.github.com/users/floe/gists{/gist_id}","starred_url":"https://api.github.com/users/floe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floe/subscriptions","organizations_url":"https://api.github.com/users/floe/orgs","repos_url":"https://api.github.com/users/floe/repos","events_url":"https://api.github.com/users/floe/events{/privacy}","received_events_url":"https://api.github.com/users/floe/received_events","type":"User","site_admin":false},"body":"This turned out to be easier than I thought, was able to base it on TcpSender. Did some basic tests with Firefox, seems to work (although I didn't yet try decoding the actual OSC messages).\r\n\r\nBiggest change is actually the base64/sha1 functions required for the WebSocket handshake. I've taken the smallest implementations which I could find, the one for base64 is public domain and shouldn't be an issue, the one for sha1 is some weird personal open-source license which should also be OK in my opinion, but I've intentionally kept them separate so it should be easy to replace them with another implementation later.","created_at":"2015-01-24T20:46:22Z","updated_at":"2015-02-02T14:27:53Z","closed_at":"2015-02-02T14:27:53Z","merged_at":"2015-02-02T14:27:53Z","merge_commit_sha":"132e31261ddf99365383fca60e9454d226d1eabd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/pulls/4/commits","review_comments_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/pulls/4/comments","review_comment_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/issues/4/comments","statuses_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/statuses/938257def626a6a7cfaceef0c512672d144ed4dc","head":{"label":"floe:websocket","ref":"websocket","sha":"938257def626a6a7cfaceef0c512672d144ed4dc","user":{"login":"floe","id":90756,"avatar_url":"https://avatars.githubusercontent.com/u/90756?v=3","gravatar_id":"","url":"https://api.github.com/users/floe","html_url":"https://github.com/floe","followers_url":"https://api.github.com/users/floe/followers","following_url":"https://api.github.com/users/floe/following{/other_user}","gists_url":"https://api.github.com/users/floe/gists{/gist_id}","starred_url":"https://api.github.com/users/floe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floe/subscriptions","organizations_url":"https://api.github.com/users/floe/orgs","repos_url":"https://api.github.com/users/floe/repos","events_url":"https://api.github.com/users/floe/events{/privacy}","received_events_url":"https://api.github.com/users/floe/received_events","type":"User","site_admin":false},"repo":{"id":26812277,"name":"TUIO20_CPP","full_name":"floe/TUIO20_CPP","owner":{"login":"floe","id":90756,"avatar_url":"https://avatars.githubusercontent.com/u/90756?v=3","gravatar_id":"","url":"https://api.github.com/users/floe","html_url":"https://github.com/floe","followers_url":"https://api.github.com/users/floe/followers","following_url":"https://api.github.com/users/floe/following{/other_user}","gists_url":"https://api.github.com/users/floe/gists{/gist_id}","starred_url":"https://api.github.com/users/floe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floe/subscriptions","organizations_url":"https://api.github.com/users/floe/orgs","repos_url":"https://api.github.com/users/floe/repos","events_url":"https://api.github.com/users/floe/events{/privacy}","received_events_url":"https://api.github.com/users/floe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/floe/TUIO20_CPP","description":"C++ TUIO 2.0 reference implementation","fork":true,"url":"https://api.github.com/repos/floe/TUIO20_CPP","forks_url":"https://api.github.com/repos/floe/TUIO20_CPP/forks","keys_url":"https://api.github.com/repos/floe/TUIO20_CPP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/floe/TUIO20_CPP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/floe/TUIO20_CPP/teams","hooks_url":"https://api.github.com/repos/floe/TUIO20_CPP/hooks","issue_events_url":"https://api.github.com/repos/floe/TUIO20_CPP/issues/events{/number}","events_url":"https://api.github.com/repos/floe/TUIO20_CPP/events","assignees_url":"https://api.github.com/repos/floe/TUIO20_CPP/assignees{/user}","branches_url":"https://api.github.com/repos/floe/TUIO20_CPP/branches{/branch}","tags_url":"https://api.github.com/repos/floe/TUIO20_CPP/tags","blobs_url":"https://api.github.com/repos/floe/TUIO20_CPP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/floe/TUIO20_CPP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/floe/TUIO20_CPP/git/refs{/sha}","trees_url":"https://api.github.com/repos/floe/TUIO20_CPP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/floe/TUIO20_CPP/statuses/{sha}","languages_url":"https://api.github.com/repos/floe/TUIO20_CPP/languages","stargazers_url":"https://api.github.com/repos/floe/TUIO20_CPP/stargazers","contributors_url":"https://api.github.com/repos/floe/TUIO20_CPP/contributors","subscribers_url":"https://api.github.com/repos/floe/TUIO20_CPP/subscribers","subscription_url":"https://api.github.com/repos/floe/TUIO20_CPP/subscription","commits_url":"https://api.github.com/repos/floe/TUIO20_CPP/commits{/sha}","git_commits_url":"https://api.github.com/repos/floe/TUIO20_CPP/git/commits{/sha}","comments_url":"https://api.github.com/repos/floe/TUIO20_CPP/comments{/number}","issue_comment_url":"https://api.github.com/repos/floe/TUIO20_CPP/issues/comments/{number}","contents_url":"https://api.github.com/repos/floe/TUIO20_CPP/contents/{+path}","compare_url":"https://api.github.com/repos/floe/TUIO20_CPP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/floe/TUIO20_CPP/merges","archive_url":"https://api.github.com/repos/floe/TUIO20_CPP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/floe/TUIO20_CPP/downloads","issues_url":"https://api.github.com/repos/floe/TUIO20_CPP/issues{/number}","pulls_url":"https://api.github.com/repos/floe/TUIO20_CPP/pulls{/number}","milestones_url":"https://api.github.com/repos/floe/TUIO20_CPP/milestones{/number}","notifications_url":"https://api.github.com/repos/floe/TUIO20_CPP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/floe/TUIO20_CPP/labels{/name}","releases_url":"https://api.github.com/repos/floe/TUIO20_CPP/releases{/id}","created_at":"2014-11-18T14:14:53Z","updated_at":"2015-01-24T20:38:41Z","pushed_at":"2015-01-24T20:40:45Z","git_url":"git://github.com/floe/TUIO20_CPP.git","ssh_url":"git@github.com:floe/TUIO20_CPP.git","clone_url":"https://github.com/floe/TUIO20_CPP.git","svn_url":"https://github.com/floe/TUIO20_CPP","homepage":null,"size":821,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mkalten:master","ref":"master","sha":"f53e1e1bc5f73bf167cc98adc79008b3101b1aab","user":{"login":"mkalten","id":115223,"avatar_url":"https://avatars.githubusercontent.com/u/115223?v=3","gravatar_id":"","url":"https://api.github.com/users/mkalten","html_url":"https://github.com/mkalten","followers_url":"https://api.github.com/users/mkalten/followers","following_url":"https://api.github.com/users/mkalten/following{/other_user}","gists_url":"https://api.github.com/users/mkalten/gists{/gist_id}","starred_url":"https://api.github.com/users/mkalten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkalten/subscriptions","organizations_url":"https://api.github.com/users/mkalten/orgs","repos_url":"https://api.github.com/users/mkalten/repos","events_url":"https://api.github.com/users/mkalten/events{/privacy}","received_events_url":"https://api.github.com/users/mkalten/received_events","type":"User","site_admin":false},"repo":{"id":26705400,"name":"TUIO20_CPP","full_name":"mkalten/TUIO20_CPP","owner":{"login":"mkalten","id":115223,"avatar_url":"https://avatars.githubusercontent.com/u/115223?v=3","gravatar_id":"","url":"https://api.github.com/users/mkalten","html_url":"https://github.com/mkalten","followers_url":"https://api.github.com/users/mkalten/followers","following_url":"https://api.github.com/users/mkalten/following{/other_user}","gists_url":"https://api.github.com/users/mkalten/gists{/gist_id}","starred_url":"https://api.github.com/users/mkalten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkalten/subscriptions","organizations_url":"https://api.github.com/users/mkalten/orgs","repos_url":"https://api.github.com/users/mkalten/repos","events_url":"https://api.github.com/users/mkalten/events{/privacy}","received_events_url":"https://api.github.com/users/mkalten/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mkalten/TUIO20_CPP","description":"C++ TUIO 2.0 reference implementation","fork":false,"url":"https://api.github.com/repos/mkalten/TUIO20_CPP","forks_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/forks","keys_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/teams","hooks_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/hooks","issue_events_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/issues/events{/number}","events_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/events","assignees_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/assignees{/user}","branches_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/branches{/branch}","tags_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/tags","blobs_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/git/refs{/sha}","trees_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/statuses/{sha}","languages_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/languages","stargazers_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/stargazers","contributors_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/contributors","subscribers_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/subscribers","subscription_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/subscription","commits_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/commits{/sha}","git_commits_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/git/commits{/sha}","comments_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/comments{/number}","issue_comment_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/issues/comments/{number}","contents_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/contents/{+path}","compare_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/merges","archive_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/downloads","issues_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/issues{/number}","pulls_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/pulls{/number}","milestones_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/milestones{/number}","notifications_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/labels{/name}","releases_url":"https://api.github.com/repos/mkalten/TUIO20_CPP/releases{/id}","created_at":"2014-11-16T05:53:35Z","updated_at":"2014-12-27T19:22:53Z","pushed_at":"2015-02-02T14:27:53Z","git_url":"git://github.com/mkalten/TUIO20_CPP.git","ssh_url":"git@github.com:mkalten/TUIO20_CPP.git","clone_url":"https://github.com/mkalten/TUIO20_CPP.git","svn_url":"https://github.com/mkalten/TUIO20_CPP","homepage":null,"size":1054,"stargazers_count":4,"watchers_count":4,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mkalten/TUIO20_CPP/pulls/4"},"html":{"href":"https://github.com/mkalten/TUIO20_CPP/pull/4"},"issue":{"href":"https://api.github.com/repos/mkalten/TUIO20_CPP/issues/4"},"comments":{"href":"https://api.github.com/repos/mkalten/TUIO20_CPP/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/mkalten/TUIO20_CPP/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/mkalten/TUIO20_CPP/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mkalten/TUIO20_CPP/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/mkalten/TUIO20_CPP/statuses/938257def626a6a7cfaceef0c512672d144ed4dc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mkalten","id":115223,"avatar_url":"https://avatars.githubusercontent.com/u/115223?v=3","gravatar_id":"","url":"https://api.github.com/users/mkalten","html_url":"https://github.com/mkalten","followers_url":"https://api.github.com/users/mkalten/followers","following_url":"https://api.github.com/users/mkalten/following{/other_user}","gists_url":"https://api.github.com/users/mkalten/gists{/gist_id}","starred_url":"https://api.github.com/users/mkalten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkalten/subscriptions","organizations_url":"https://api.github.com/users/mkalten/orgs","repos_url":"https://api.github.com/users/mkalten/repos","events_url":"https://api.github.com/users/mkalten/events{/privacy}","received_events_url":"https://api.github.com/users/mkalten/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":3,"additions":414,"deletions":2,"changed_files":11}}