Title: Difference between 'hyper' and 'hyper-h2' and support for Requests · Issue #390 · python-hyper/h2 · GitHub
Open Graph Title: Difference between 'hyper' and 'hyper-h2' and support for Requests · Issue #390 · python-hyper/h2
X Title: Difference between 'hyper' and 'hyper-h2' and support for Requests · Issue #390 · python-hyper/h2
Description: Hi, I'm implementing HTTP/2 client to send push notification request to APNS (token based) And I'm on researching stage now, and I read an issue on hyper, which led me here. I'm a bit confused differences between hyper and hyper-h2 I gue...
Open Graph Description: Hi, I'm implementing HTTP/2 client to send push notification request to APNS (token based) And I'm on researching stage now, and I read an issue on hyper, which led me here. I'm a bit confused diff...
X Description: Hi, I'm implementing HTTP/2 client to send push notification request to APNS (token based) And I'm on researching stage now, and I read an issue on hyper, which led me here. I'm a bit c...
Opengraph URL: https://github.com/python-hyper/h2/issues/390
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Difference between 'hyper' and 'hyper-h2' and support for Requests","articleBody":"Hi,\r\nI'm implementing HTTP/2 client to send push notification request to APNS (token based)\r\nAnd I'm on researching stage now, and I read an [issue on `hyper`](https://github.com/Lukasa/hyper/issues/264), which led me here.\r\n\r\nI'm a bit confused differences between [`hyper`](http://hyper.readthedocs.io/en/latest/index.html) and [`hyper-h2`](https://python-hyper.org/h2/en/stable/index.html)\r\nI guess `hyper-h2` is next version of `hyper` since @Lukasa shows up in both repositories,([hyper@github](https://github.com/Lukasa/hyper), [hyper-h2@github](https://github.com/python-hyper/hyper-h2)) and I can find recent commits in `hyper-h2` repository\r\n\r\nAm I right? If not, are they intended different purpose?\r\n(for example, `hyper` supports I/O things like [`requests`](http://docs.python-requests.org/en/master/) whereas `hyper-h2` doesn't but supports high-level interfaces)\r\n\r\nIn [I/O part in `hyper-h2` documentation](https://python-hyper.org/h2/en/stable/basic-usage.html#i-o) it seems that `hyper-h2` doesn't do I/O things so I need to implement writing/receiving data or utilize other network packages, such as [`twisted`](https://twistedmatrix.com/trac/).\r\n\r\n`hyper` supports [Request Integration](http://hyper.readthedocs.io/en/latest/quickstart.html#requests-integration) but `hyper-h2` doesn't seem to.\r\nMy question is: is there any way that I can integrate `hyper-h2` into `requests` for client side?\r\n\r\nSince [Best Practices for Managing Connections by Apple](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html#//apple_ref/doc/uid/TP40008194-CH11-SW8) encourages using connection pool and `requests` supports it, It would be great `hyper-h2` supports `requests` integration\r\n\r\nThank you in advance!","author":{"url":"https://github.com/iitns314","@type":"Person","name":"iitns314"},"datePublished":"2016-11-14T10:53:07Z","url":"https://github.com/python-hyper/h2/issues/390"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:13f535f0-c67a-1e9e-6942-126b1b760161 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8064:4B7F8:D1BD3D:12D258D:6AFDA031 |
| html-safe-nonce | 28bddde30848e05df5470321fe4fd2b7c8a4d4d2a805e199945fcac6ab22e3d9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDY0OjRCN0Y4OkQxQkQzRDoxMkQyNThEOjZBRkRBMDMxIiwidmlzaXRvcl9pZCI6IjkxNDA2MjY0MjI3OTA3MjU2ODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 57e6a4ce736caad3216b556c89ba9a3ce14af2885a6728c5c57e3ca3bb2101eb |
| hovercard-subject-tag | issue:189082416 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-hyper/h2/390/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f562b8189c361a41b3edd67bb2164c7f8f4b3694f0bca17cb702db833abae741/python-hyper/h2/issues/390 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f562b8189c361a41b3edd67bb2164c7f8f4b3694f0bca17cb702db833abae741/python-hyper/h2/issues/390 |
| og:image:alt | Hi, I'm implementing HTTP/2 client to send push notification request to APNS (token based) And I'm on researching stage now, and I read an issue on hyper, which led me here. I'm a bit confused diff... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iitns314 |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| go-import | github.com/python-hyper/h2 git https://github.com/python-hyper/h2.git |
| octolytics-dimension-user_id | 13035907 |
| octolytics-dimension-user_login | python-hyper |
| octolytics-dimension-repository_id | 37996233 |
| octolytics-dimension-repository_nwo | python-hyper/h2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 37996233 |
| octolytics-dimension-repository_network_root_nwo | python-hyper/h2 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width