Replies: 1 comment
-
Reddit recommends to maintain a copy of (also outdated) bridge-library: https://www.npmjs.com/package/http2-express-bridge This one at least 3 years old, not 5, and requires Node 10+, which is more promising than |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be a great feature to support HTTP 2, I've been interested in that protocol for long.
However, there is no native support of HTTP 2 protocol by Express yet, though it's planned for Express 6:
expressjs/express#3730 (reference)
I hope it won't take another 10 years to do that.
In meanwhile, the recommended approach is to use
spdy
library:However, that library is critically outdated (last release was 5 years ago):
https://www.npmjs.com/package/spdy
The author seems to abandon the project and the community is already making forks in order to fix its compatibility to Node 10+ and so on:
https://www.npmjs.com/package/spdy-fixes
But the idea behind
spdy
is great — it allows to define multiple protocols under a single express-compatible wrapper.So, in case you know some well-maintained alternative to
spdy
, or another reliable way to establish that protocol withexpress
(also well-maintained), please let me know.Beta Was this translation helpful? Give feedback.
All reactions