Support HTTP/2
See original GitHub issueHeya! Thanks for this small and efficient library.
We are using SSE on top of HTTP/2 and it’s not working with https
native node lib (couldn’t sent a request).
However it could work via http2
node module.
Any ideas if it could be supported in future?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:10
Top Results From Across the Web
HTTP/2 protocol | Can I use... Support tables for HTML5, CSS3 ...
HTTP/2 is only supported over TLS (HTTPS). See also the precursor of HTTP/2, the SPDY protocol, which has been deprecated and removed from...
Read more >HTTP/2 - Wikipedia
Most major browsers had added HTTP/2 support by the end of 2015. ... About 97% of web browsers used have the capability. ......
Read more >HTTP/2 Test - Verify HTTP/2 Support - KeyCDN Tools
This test can check HTTP and HTTPS but most browsers only support HTTP/2 for HTTPS, which means you must migrate to HTTPS if...
Read more >HTTP/2 Frequently Asked Questions
In browsers, HTTP/2 is supported by the most current releases of Edge, Safari, Firefox and Chrome. Other browsers based upon Blink will also...
Read more >How to check if a website has HTTP/2 protocol support
You can just check it in: Chrome Dev Tool ( F12 ) → Network → Protocol. It will tell you the protocol used...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yea, http2 works only in
https
, so you need to setup some SSLletsencrypt
-like cert. But thiseventsource
client just didn’t handle it, while native client in browser works just fine with http2.Okay, sure, pls give me a few hours, so I could actually make it open-source. We use this in production and it flies well)
as for express, they say there are some hacks (e.g using your express as just router, but server implemented in
http2
package)@wubzz u’re welcome:) if you need something extra e.g custom headers support or else, feel free to reply and i’ll add it to lib.