{"action":"created","issue":{"url":"https://api.github.com/repos/dgilland/pushjack/issues/3","labels_url":"https://api.github.com/repos/dgilland/pushjack/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/dgilland/pushjack/issues/3/comments","events_url":"https://api.github.com/repos/dgilland/pushjack/issues/3/events","html_url":"https://github.com/dgilland/pushjack/issues/3","id":64847392,"number":3,"title":"Add option to setup and maintain APNS connection inside APNSClient","user":{"login":"dgilland","id":1251349,"avatar_url":"https://avatars.githubusercontent.com/u/1251349?v=3","gravatar_id":"","url":"https://api.github.com/users/dgilland","html_url":"https://github.com/dgilland","followers_url":"https://api.github.com/users/dgilland/followers","following_url":"https://api.github.com/users/dgilland/following{/other_user}","gists_url":"https://api.github.com/users/dgilland/gists{/gist_id}","starred_url":"https://api.github.com/users/dgilland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgilland/subscriptions","organizations_url":"https://api.github.com/users/dgilland/orgs","repos_url":"https://api.github.com/users/dgilland/repos","events_url":"https://api.github.com/users/dgilland/events{/privacy}","received_events_url":"https://api.github.com/users/dgilland/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dgilland/pushjack/labels/apns","name":"apns","color":"0052cc"},{"url":"https://api.github.com/repos/dgilland/pushjack/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-27T20:43:01Z","updated_at":"2015-04-15T21:32:06Z","closed_at":null,"body":"Currently, the `APNSClient` doesn't create or maintain a socket connection for APNS which makes using the `send()` function in some other bulk sending context (i.e. using a custom bulk sender) DIY. Would be useful to be able to instruct the client to store the socket connection itself instead of having it created each time `send()` is called or requiring that the socket connection be passed into the `client.send` function each time."},"comment":{"url":"https://api.github.com/repos/dgilland/pushjack/issues/comments/93575191","html_url":"https://github.com/dgilland/pushjack/issues/3#issuecomment-93575191","issue_url":"https://api.github.com/repos/dgilland/pushjack/issues/3","id":93575191,"user":{"login":"dgilland","id":1251349,"avatar_url":"https://avatars.githubusercontent.com/u/1251349?v=3","gravatar_id":"","url":"https://api.github.com/users/dgilland","html_url":"https://github.com/dgilland","followers_url":"https://api.github.com/users/dgilland/followers","following_url":"https://api.github.com/users/dgilland/following{/other_user}","gists_url":"https://api.github.com/users/dgilland/gists{/gist_id}","starred_url":"https://api.github.com/users/dgilland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgilland/subscriptions","organizations_url":"https://api.github.com/users/dgilland/orgs","repos_url":"https://api.github.com/users/dgilland/repos","events_url":"https://api.github.com/users/dgilland/events{/privacy}","received_events_url":"https://api.github.com/users/dgilland/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T21:32:06Z","updated_at":"2015-04-15T21:32:06Z","body":"Would still be a good idea to have a way to maintain the connection should the consumer desire, e.g., within a long running process where multiple ``send`` calls are being made with batches of notifications."}}