{"action":"opened","issue":{"url":"https://api.github.com/repos/Lukasa/hyper/issues/245","repository_url":"https://api.github.com/repos/Lukasa/hyper","labels_url":"https://api.github.com/repos/Lukasa/hyper/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/Lukasa/hyper/issues/245/comments","events_url":"https://api.github.com/repos/Lukasa/hyper/issues/245/events","html_url":"https://github.com/Lukasa/hyper/issues/245","id":156923191,"number":245,"title":"Callback support","user":{"login":"yichengchen","id":11733500,"avatar_url":"https://avatars.githubusercontent.com/u/11733500?v=3","gravatar_id":"","url":"https://api.github.com/users/yichengchen","html_url":"https://github.com/yichengchen","followers_url":"https://api.github.com/users/yichengchen/followers","following_url":"https://api.github.com/users/yichengchen/following{/other_user}","gists_url":"https://api.github.com/users/yichengchen/gists{/gist_id}","starred_url":"https://api.github.com/users/yichengchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yichengchen/subscriptions","organizations_url":"https://api.github.com/users/yichengchen/orgs","repos_url":"https://api.github.com/users/yichengchen/repos","events_url":"https://api.github.com/users/yichengchen/events{/privacy}","received_events_url":"https://api.github.com/users/yichengchen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-26T07:40:39Z","updated_at":"2016-05-26T07:40:39Z","closed_at":null,"body":"I'am a beginner of Python learning.\r\nI wonder It's there any way to make a requests callback in http/2  such as requests-futures?\r\n\r\n> def bg_cb(sess, resp):\r\n>     # parse the json storing the result on the response object\r\n>     resp.data = resp.json()\r\n> future = session.get('http://httpbin.org/get', background_callback=bg_cb)\r\n\r\n\r\nIt would be great for me to sending and receiving message at the same time.\r\nActually I'm trying to make a simple Apple APNS server using new http/2 Api,But I don't know how to handle things like this.\r\n![qq20160526-0](https://cloud.githubusercontent.com/assets/11733500/15567248/c713f810-2357-11e6-8a57-502cf18fc503.png)\r\n\r\nOr is there a better idea to achieve this? Thank you.\r\n\r\n"}}
{"actor":{"display_login":"yichengchen"}}