Any interest in upgrading WebSocket connection over HTTP/2? #19982
william-kerr
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm a big fan of Vite and have baked it into my app server when running in dev mode. I use https (with Let's Encrypt) and h2 in dev, so it's fairly identical to prod. Recently, I upgraded the popular
ws
module to upgrade using Extended CONNECT over http/2 instead of http/1.1. If you would be interested in upgrading WebSocket connections over h2, my module h2ws is probably an "almost" drop-in replacement forws
. It would be really cool if Vite upgraded over an h2 stream in my local dev env!Beta Was this translation helpful? Give feedback.
All reactions