{"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/pulls/19","id":50602382,"html_url":"https://github.com/davidstump/SwiftPhoenixClient/pull/19","diff_url":"https://github.com/davidstump/SwiftPhoenixClient/pull/19.diff","patch_url":"https://github.com/davidstump/SwiftPhoenixClient/pull/19.patch","issue_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/issues/19","number":19,"state":"open","locked":false,"title":"Connection","user":{"login":"aaa707","id":1144815,"avatar_url":"https://avatars.githubusercontent.com/u/1144815?v=3","gravatar_id":"","url":"https://api.github.com/users/aaa707","html_url":"https://github.com/aaa707","followers_url":"https://api.github.com/users/aaa707/followers","following_url":"https://api.github.com/users/aaa707/following{/other_user}","gists_url":"https://api.github.com/users/aaa707/gists{/gist_id}","starred_url":"https://api.github.com/users/aaa707/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaa707/subscriptions","organizations_url":"https://api.github.com/users/aaa707/orgs","repos_url":"https://api.github.com/users/aaa707/repos","events_url":"https://api.github.com/users/aaa707/events{/privacy}","received_events_url":"https://api.github.com/users/aaa707/received_events","type":"User","site_admin":false},"body":"Hi there,\r\n\r\nI've fixed some around connections.\r\n\r\n1. NSTimeInterval accepts second which minimum is 0.1. https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSTimer_Class/\r\n2. Add heartbeat for Phoenix 1.0.3 above. See https://github.com/phoenixframework/phoenix/issues/1219\r\n3. flushSendBuffer does not work fine. So I changed 'sendBuffer: [Void]' to '[Phoenix.Payload]'.\r\n\r\nThanks,\r\n","created_at":"2015-11-13T04:04:30Z","updated_at":"2015-11-13T04:04:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/pulls/19/commits","review_comments_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/pulls/19/comments","review_comment_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/pulls/comments{/number}","comments_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/issues/19/comments","statuses_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/statuses/a7a6b6376dda585fe0b1c1cf164ac91ddc2260e9","head":{"label":"aaa707:connection","ref":"connection","sha":"a7a6b6376dda585fe0b1c1cf164ac91ddc2260e9","user":{"login":"aaa707","id":1144815,"avatar_url":"https://avatars.githubusercontent.com/u/1144815?v=3","gravatar_id":"","url":"https://api.github.com/users/aaa707","html_url":"https://github.com/aaa707","followers_url":"https://api.github.com/users/aaa707/followers","following_url":"https://api.github.com/users/aaa707/following{/other_user}","gists_url":"https://api.github.com/users/aaa707/gists{/gist_id}","starred_url":"https://api.github.com/users/aaa707/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaa707/subscriptions","organizations_url":"https://api.github.com/users/aaa707/orgs","repos_url":"https://api.github.com/users/aaa707/repos","events_url":"https://api.github.com/users/aaa707/events{/privacy}","received_events_url":"https://api.github.com/users/aaa707/received_events","type":"User","site_admin":false},"repo":{"id":43669607,"name":"SwiftPhoenixClient","full_name":"aaa707/SwiftPhoenixClient","owner":{"login":"aaa707","id":1144815,"avatar_url":"https://avatars.githubusercontent.com/u/1144815?v=3","gravatar_id":"","url":"https://api.github.com/users/aaa707","html_url":"https://github.com/aaa707","followers_url":"https://api.github.com/users/aaa707/followers","following_url":"https://api.github.com/users/aaa707/following{/other_user}","gists_url":"https://api.github.com/users/aaa707/gists{/gist_id}","starred_url":"https://api.github.com/users/aaa707/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaa707/subscriptions","organizations_url":"https://api.github.com/users/aaa707/orgs","repos_url":"https://api.github.com/users/aaa707/repos","events_url":"https://api.github.com/users/aaa707/events{/privacy}","received_events_url":"https://api.github.com/users/aaa707/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aaa707/SwiftPhoenixClient","description":"Connect your Phoenix and iOS applications through WebSockets!","fork":true,"url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient","forks_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/forks","keys_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/teams","hooks_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/hooks","issue_events_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/issues/events{/number}","events_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/events","assignees_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/assignees{/user}","branches_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/branches{/branch}","tags_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/tags","blobs_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/git/refs{/sha}","trees_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/statuses/{sha}","languages_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/languages","stargazers_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/stargazers","contributors_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/contributors","subscribers_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/subscribers","subscription_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/subscription","commits_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/commits{/sha}","git_commits_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/git/commits{/sha}","comments_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/comments{/number}","issue_comment_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/issues/comments{/number}","contents_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/contents/{+path}","compare_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/merges","archive_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/downloads","issues_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/issues{/number}","pulls_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/pulls{/number}","milestones_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/milestones{/number}","notifications_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/labels{/name}","releases_url":"https://api.github.com/repos/aaa707/SwiftPhoenixClient/releases{/id}","created_at":"2015-10-05T06:58:29Z","updated_at":"2015-10-05T06:58:31Z","pushed_at":"2015-11-13T03:51:32Z","git_url":"git://github.com/aaa707/SwiftPhoenixClient.git","ssh_url":"git@github.com:aaa707/SwiftPhoenixClient.git","clone_url":"https://github.com/aaa707/SwiftPhoenixClient.git","svn_url":"https://github.com/aaa707/SwiftPhoenixClient","homepage":"","size":21603,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":"davidstump:master","ref":"master","sha":"e12ee4fb3ff72bf6a32cd73f94a5de44d8efe9eb","user":{"login":"davidstump","id":283741,"avatar_url":"https://avatars.githubusercontent.com/u/283741?v=3","gravatar_id":"","url":"https://api.github.com/users/davidstump","html_url":"https://github.com/davidstump","followers_url":"https://api.github.com/users/davidstump/followers","following_url":"https://api.github.com/users/davidstump/following{/other_user}","gists_url":"https://api.github.com/users/davidstump/gists{/gist_id}","starred_url":"https://api.github.com/users/davidstump/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidstump/subscriptions","organizations_url":"https://api.github.com/users/davidstump/orgs","repos_url":"https://api.github.com/users/davidstump/repos","events_url":"https://api.github.com/users/davidstump/events{/privacy}","received_events_url":"https://api.github.com/users/davidstump/received_events","type":"User","site_admin":false},"repo":{"id":22003088,"name":"SwiftPhoenixClient","full_name":"davidstump/SwiftPhoenixClient","owner":{"login":"davidstump","id":283741,"avatar_url":"https://avatars.githubusercontent.com/u/283741?v=3","gravatar_id":"","url":"https://api.github.com/users/davidstump","html_url":"https://github.com/davidstump","followers_url":"https://api.github.com/users/davidstump/followers","following_url":"https://api.github.com/users/davidstump/following{/other_user}","gists_url":"https://api.github.com/users/davidstump/gists{/gist_id}","starred_url":"https://api.github.com/users/davidstump/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidstump/subscriptions","organizations_url":"https://api.github.com/users/davidstump/orgs","repos_url":"https://api.github.com/users/davidstump/repos","events_url":"https://api.github.com/users/davidstump/events{/privacy}","received_events_url":"https://api.github.com/users/davidstump/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidstump/SwiftPhoenixClient","description":"Connect your Phoenix and iOS applications through WebSockets!","fork":false,"url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient","forks_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/forks","keys_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/teams","hooks_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/hooks","issue_events_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/issues/events{/number}","events_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/events","assignees_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/assignees{/user}","branches_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/branches{/branch}","tags_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/tags","blobs_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/statuses/{sha}","languages_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/languages","stargazers_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/stargazers","contributors_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/contributors","subscribers_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/subscribers","subscription_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/subscription","commits_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/contents/{+path}","compare_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/merges","archive_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/downloads","issues_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/issues{/number}","pulls_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/pulls{/number}","milestones_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/milestones{/number}","notifications_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/labels{/name}","releases_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/releases{/id}","created_at":"2014-07-19T05:57:17Z","updated_at":"2015-11-09T22:57:07Z","pushed_at":"2015-11-04T16:12:50Z","git_url":"git://github.com/davidstump/SwiftPhoenixClient.git","ssh_url":"git@github.com:davidstump/SwiftPhoenixClient.git","clone_url":"https://github.com/davidstump/SwiftPhoenixClient.git","svn_url":"https://github.com/davidstump/SwiftPhoenixClient","homepage":"","size":21777,"stargazers_count":59,"watchers_count":59,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":5,"forks":10,"open_issues":5,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/pulls/19"},"html":{"href":"https://github.com/davidstump/SwiftPhoenixClient/pull/19"},"issue":{"href":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/issues/19"},"comments":{"href":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/statuses/a7a6b6376dda585fe0b1c1cf164ac91ddc2260e9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":28,"deletions":17,"changed_files":1}}