{"action":"closed","number":23,"pull_request":{"url":"https://api.github.com/repos/kdzwinel/betwixt/pulls/23","id":52074705,"html_url":"https://github.com/kdzwinel/betwixt/pull/23","diff_url":"https://github.com/kdzwinel/betwixt/pull/23.diff","patch_url":"https://github.com/kdzwinel/betwixt/pull/23.patch","issue_url":"https://api.github.com/repos/kdzwinel/betwixt/issues/23","number":23,"state":"closed","locked":false,"title":"Use ipc instead of a websocket to communicate with the frontend.","user":{"login":"kdzwinel","id":985504,"avatar_url":"https://avatars.githubusercontent.com/u/985504?v=3","gravatar_id":"","url":"https://api.github.com/users/kdzwinel","html_url":"https://github.com/kdzwinel","followers_url":"https://api.github.com/users/kdzwinel/followers","following_url":"https://api.github.com/users/kdzwinel/following{/other_user}","gists_url":"https://api.github.com/users/kdzwinel/gists{/gist_id}","starred_url":"https://api.github.com/users/kdzwinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdzwinel/subscriptions","organizations_url":"https://api.github.com/users/kdzwinel/orgs","repos_url":"https://api.github.com/users/kdzwinel/repos","events_url":"https://api.github.com/users/kdzwinel/events{/privacy}","received_events_url":"https://api.github.com/users/kdzwinel/received_events","type":"User","site_admin":false},"body":"Currently backend (node) creates a websocket connection with the frontend (DT). This has couple of disadvantages:\r\n\r\n- port where socket connection is being created may be unavailable (e.g. #20)\r\n- when Betwixt will start supporting websockets, it may cause \"our\" websocket to misbehave\r\n- it's not the fastest nor the simplest option\r\n\r\nElectron has a build in communication channel between frontend and backend ([ipc](http://electron.atom.io/docs/v0.34.0/api/ipc-renderer/)), so let's use that instead!","created_at":"2015-11-29T23:46:33Z","updated_at":"2015-12-02T00:15:55Z","closed_at":"2015-12-02T00:15:55Z","merged_at":"2015-12-02T00:15:55Z","merge_commit_sha":"49681a3cf0bb5d71eb90748ae3d1d0e49c2bc609","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kdzwinel/betwixt/pulls/23/commits","review_comments_url":"https://api.github.com/repos/kdzwinel/betwixt/pulls/23/comments","review_comment_url":"https://api.github.com/repos/kdzwinel/betwixt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kdzwinel/betwixt/issues/23/comments","statuses_url":"https://api.github.com/repos/kdzwinel/betwixt/statuses/b1ffe0585eaf21bd94e15c711ef3700dac62bcd9","head":{"label":"kdzwinel:internal-communication","ref":"internal-communication","sha":"b1ffe0585eaf21bd94e15c711ef3700dac62bcd9","user":{"login":"kdzwinel","id":985504,"avatar_url":"https://avatars.githubusercontent.com/u/985504?v=3","gravatar_id":"","url":"https://api.github.com/users/kdzwinel","html_url":"https://github.com/kdzwinel","followers_url":"https://api.github.com/users/kdzwinel/followers","following_url":"https://api.github.com/users/kdzwinel/following{/other_user}","gists_url":"https://api.github.com/users/kdzwinel/gists{/gist_id}","starred_url":"https://api.github.com/users/kdzwinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdzwinel/subscriptions","organizations_url":"https://api.github.com/users/kdzwinel/orgs","repos_url":"https://api.github.com/users/kdzwinel/repos","events_url":"https://api.github.com/users/kdzwinel/events{/privacy}","received_events_url":"https://api.github.com/users/kdzwinel/received_events","type":"User","site_admin":false},"repo":{"id":46131737,"name":"betwixt","full_name":"kdzwinel/betwixt","owner":{"login":"kdzwinel","id":985504,"avatar_url":"https://avatars.githubusercontent.com/u/985504?v=3","gravatar_id":"","url":"https://api.github.com/users/kdzwinel","html_url":"https://github.com/kdzwinel","followers_url":"https://api.github.com/users/kdzwinel/followers","following_url":"https://api.github.com/users/kdzwinel/following{/other_user}","gists_url":"https://api.github.com/users/kdzwinel/gists{/gist_id}","starred_url":"https://api.github.com/users/kdzwinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdzwinel/subscriptions","organizations_url":"https://api.github.com/users/kdzwinel/orgs","repos_url":"https://api.github.com/users/kdzwinel/repos","events_url":"https://api.github.com/users/kdzwinel/events{/privacy}","received_events_url":"https://api.github.com/users/kdzwinel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kdzwinel/betwixt","description":"⚡Web Debugging Proxy based on Chrome DevTools Network panel.","fork":false,"url":"https://api.github.com/repos/kdzwinel/betwixt","forks_url":"https://api.github.com/repos/kdzwinel/betwixt/forks","keys_url":"https://api.github.com/repos/kdzwinel/betwixt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kdzwinel/betwixt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kdzwinel/betwixt/teams","hooks_url":"https://api.github.com/repos/kdzwinel/betwixt/hooks","issue_events_url":"https://api.github.com/repos/kdzwinel/betwixt/issues/events{/number}","events_url":"https://api.github.com/repos/kdzwinel/betwixt/events","assignees_url":"https://api.github.com/repos/kdzwinel/betwixt/assignees{/user}","branches_url":"https://api.github.com/repos/kdzwinel/betwixt/branches{/branch}","tags_url":"https://api.github.com/repos/kdzwinel/betwixt/tags","blobs_url":"https://api.github.com/repos/kdzwinel/betwixt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kdzwinel/betwixt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kdzwinel/betwixt/git/refs{/sha}","trees_url":"https://api.github.com/repos/kdzwinel/betwixt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kdzwinel/betwixt/statuses/{sha}","languages_url":"https://api.github.com/repos/kdzwinel/betwixt/languages","stargazers_url":"https://api.github.com/repos/kdzwinel/betwixt/stargazers","contributors_url":"https://api.github.com/repos/kdzwinel/betwixt/contributors","subscribers_url":"https://api.github.com/repos/kdzwinel/betwixt/subscribers","subscription_url":"https://api.github.com/repos/kdzwinel/betwixt/subscription","commits_url":"https://api.github.com/repos/kdzwinel/betwixt/commits{/sha}","git_commits_url":"https://api.github.com/repos/kdzwinel/betwixt/git/commits{/sha}","comments_url":"https://api.github.com/repos/kdzwinel/betwixt/comments{/number}","issue_comment_url":"https://api.github.com/repos/kdzwinel/betwixt/issues/comments{/number}","contents_url":"https://api.github.com/repos/kdzwinel/betwixt/contents/{+path}","compare_url":"https://api.github.com/repos/kdzwinel/betwixt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kdzwinel/betwixt/merges","archive_url":"https://api.github.com/repos/kdzwinel/betwixt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kdzwinel/betwixt/downloads","issues_url":"https://api.github.com/repos/kdzwinel/betwixt/issues{/number}","pulls_url":"https://api.github.com/repos/kdzwinel/betwixt/pulls{/number}","milestones_url":"https://api.github.com/repos/kdzwinel/betwixt/milestones{/number}","notifications_url":"https://api.github.com/repos/kdzwinel/betwixt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kdzwinel/betwixt/labels{/name}","releases_url":"https://api.github.com/repos/kdzwinel/betwixt/releases{/id}","created_at":"2015-11-13T15:57:32Z","updated_at":"2015-12-02T00:07:50Z","pushed_at":"2015-12-02T00:15:55Z","git_url":"git://github.com/kdzwinel/betwixt.git","ssh_url":"git@github.com:kdzwinel/betwixt.git","clone_url":"https://github.com/kdzwinel/betwixt.git","svn_url":"https://github.com/kdzwinel/betwixt","homepage":"","size":1855,"stargazers_count":2375,"watchers_count":2375,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":15,"forks":42,"open_issues":15,"watchers":2375,"default_branch":"master"}},"base":{"label":"kdzwinel:master","ref":"master","sha":"d62ba026e5d7a8cc20f5d0a4884a0407370475e1","user":{"login":"kdzwinel","id":985504,"avatar_url":"https://avatars.githubusercontent.com/u/985504?v=3","gravatar_id":"","url":"https://api.github.com/users/kdzwinel","html_url":"https://github.com/kdzwinel","followers_url":"https://api.github.com/users/kdzwinel/followers","following_url":"https://api.github.com/users/kdzwinel/following{/other_user}","gists_url":"https://api.github.com/users/kdzwinel/gists{/gist_id}","starred_url":"https://api.github.com/users/kdzwinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdzwinel/subscriptions","organizations_url":"https://api.github.com/users/kdzwinel/orgs","repos_url":"https://api.github.com/users/kdzwinel/repos","events_url":"https://api.github.com/users/kdzwinel/events{/privacy}","received_events_url":"https://api.github.com/users/kdzwinel/received_events","type":"User","site_admin":false},"repo":{"id":46131737,"name":"betwixt","full_name":"kdzwinel/betwixt","owner":{"login":"kdzwinel","id":985504,"avatar_url":"https://avatars.githubusercontent.com/u/985504?v=3","gravatar_id":"","url":"https://api.github.com/users/kdzwinel","html_url":"https://github.com/kdzwinel","followers_url":"https://api.github.com/users/kdzwinel/followers","following_url":"https://api.github.com/users/kdzwinel/following{/other_user}","gists_url":"https://api.github.com/users/kdzwinel/gists{/gist_id}","starred_url":"https://api.github.com/users/kdzwinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdzwinel/subscriptions","organizations_url":"https://api.github.com/users/kdzwinel/orgs","repos_url":"https://api.github.com/users/kdzwinel/repos","events_url":"https://api.github.com/users/kdzwinel/events{/privacy}","received_events_url":"https://api.github.com/users/kdzwinel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kdzwinel/betwixt","description":"⚡Web Debugging Proxy based on Chrome DevTools Network panel.","fork":false,"url":"https://api.github.com/repos/kdzwinel/betwixt","forks_url":"https://api.github.com/repos/kdzwinel/betwixt/forks","keys_url":"https://api.github.com/repos/kdzwinel/betwixt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kdzwinel/betwixt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kdzwinel/betwixt/teams","hooks_url":"https://api.github.com/repos/kdzwinel/betwixt/hooks","issue_events_url":"https://api.github.com/repos/kdzwinel/betwixt/issues/events{/number}","events_url":"https://api.github.com/repos/kdzwinel/betwixt/events","assignees_url":"https://api.github.com/repos/kdzwinel/betwixt/assignees{/user}","branches_url":"https://api.github.com/repos/kdzwinel/betwixt/branches{/branch}","tags_url":"https://api.github.com/repos/kdzwinel/betwixt/tags","blobs_url":"https://api.github.com/repos/kdzwinel/betwixt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kdzwinel/betwixt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kdzwinel/betwixt/git/refs{/sha}","trees_url":"https://api.github.com/repos/kdzwinel/betwixt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kdzwinel/betwixt/statuses/{sha}","languages_url":"https://api.github.com/repos/kdzwinel/betwixt/languages","stargazers_url":"https://api.github.com/repos/kdzwinel/betwixt/stargazers","contributors_url":"https://api.github.com/repos/kdzwinel/betwixt/contributors","subscribers_url":"https://api.github.com/repos/kdzwinel/betwixt/subscribers","subscription_url":"https://api.github.com/repos/kdzwinel/betwixt/subscription","commits_url":"https://api.github.com/repos/kdzwinel/betwixt/commits{/sha}","git_commits_url":"https://api.github.com/repos/kdzwinel/betwixt/git/commits{/sha}","comments_url":"https://api.github.com/repos/kdzwinel/betwixt/comments{/number}","issue_comment_url":"https://api.github.com/repos/kdzwinel/betwixt/issues/comments{/number}","contents_url":"https://api.github.com/repos/kdzwinel/betwixt/contents/{+path}","compare_url":"https://api.github.com/repos/kdzwinel/betwixt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kdzwinel/betwixt/merges","archive_url":"https://api.github.com/repos/kdzwinel/betwixt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kdzwinel/betwixt/downloads","issues_url":"https://api.github.com/repos/kdzwinel/betwixt/issues{/number}","pulls_url":"https://api.github.com/repos/kdzwinel/betwixt/pulls{/number}","milestones_url":"https://api.github.com/repos/kdzwinel/betwixt/milestones{/number}","notifications_url":"https://api.github.com/repos/kdzwinel/betwixt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kdzwinel/betwixt/labels{/name}","releases_url":"https://api.github.com/repos/kdzwinel/betwixt/releases{/id}","created_at":"2015-11-13T15:57:32Z","updated_at":"2015-12-02T00:07:50Z","pushed_at":"2015-12-02T00:15:55Z","git_url":"git://github.com/kdzwinel/betwixt.git","ssh_url":"git@github.com:kdzwinel/betwixt.git","clone_url":"https://github.com/kdzwinel/betwixt.git","svn_url":"https://github.com/kdzwinel/betwixt","homepage":"","size":1855,"stargazers_count":2375,"watchers_count":2375,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":15,"forks":42,"open_issues":15,"watchers":2375,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kdzwinel/betwixt/pulls/23"},"html":{"href":"https://github.com/kdzwinel/betwixt/pull/23"},"issue":{"href":"https://api.github.com/repos/kdzwinel/betwixt/issues/23"},"comments":{"href":"https://api.github.com/repos/kdzwinel/betwixt/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/kdzwinel/betwixt/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/kdzwinel/betwixt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kdzwinel/betwixt/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/kdzwinel/betwixt/statuses/b1ffe0585eaf21bd94e15c711ef3700dac62bcd9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kdzwinel","id":985504,"avatar_url":"https://avatars.githubusercontent.com/u/985504?v=3","gravatar_id":"","url":"https://api.github.com/users/kdzwinel","html_url":"https://github.com/kdzwinel","followers_url":"https://api.github.com/users/kdzwinel/followers","following_url":"https://api.github.com/users/kdzwinel/following{/other_user}","gists_url":"https://api.github.com/users/kdzwinel/gists{/gist_id}","starred_url":"https://api.github.com/users/kdzwinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdzwinel/subscriptions","organizations_url":"https://api.github.com/users/kdzwinel/orgs","repos_url":"https://api.github.com/users/kdzwinel/repos","events_url":"https://api.github.com/users/kdzwinel/events{/privacy}","received_events_url":"https://api.github.com/users/kdzwinel/received_events","type":"User","site_admin":false},"comments":0,"review_comments":4,"commits":1,"additions":129,"deletions":171,"changed_files":6}}