-
Notifications
You must be signed in to change notification settings - Fork 353
Description
Is your feature request related to a problem? Please describe.
WebTransport (https://developer.mozilla.org/en-US/docs/Web/API/WebTransport) is a new HTTP/3 protocol that promises even faster connection time and solving various issues with WebSockets.
It would be cool if socket.io could transparently start implementing webtransport
as a new transport option. Still keeping the same nice fallback mechanism that exists today between WebSockets and HTTP long-polling.
Describe the solution you'd like
Add a new transports
option useable in client initialization: https://socket.io/docs/v3/client-initialization/#transports
Describe alternatives you've considered
Using WebTransport directly without socket.io. But that completely misses the cool API that socket.io provides.