Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebTransport support #261

Open
tekacs opened this issue Feb 2, 2024 · 1 comment
Open

WebTransport support #261

tekacs opened this issue Feb 2, 2024 · 1 comment
Labels
blocked enhancement New feature or request

Comments

@tekacs
Copy link

tekacs commented Feb 2, 2024

Is your feature request related to a problem? Please describe.
Head-of-line blocking and lack of multi-path make it meaningfully more difficult to build on top of WebSocket-based setups.

Describe the solution you'd like
WebTransport is supported in every modern browser environment except Safari iOS & Desktop. Those will probably gain support soon too. Socket.IO has added WebTransport support. It's been requested from rust-socketio and is supported in the JS client. Getting WebTransport support would solve the above issues amongst others.

Describe alternatives you've considered
We run into this all the time and maintain multiple connections to side-step some of the issues, but it's a very limited solution and multi-path is one of the major reasons why restoring state on reconnect (not yet implemented in socketoxide) is even important in our application.

Additional context
From looking around, I can't immediately spot WebTransport libraries that mention Tower and h3 seems to be working on it but delayed. Given the structure of this library, I totally understand if something external to the library has to happen before the library can add support. I imagine that it's worth having the issue open irrespective?

@tekacs tekacs added the enhancement New feature or request label Feb 2, 2024
@Totodore
Copy link
Owner

Totodore commented Feb 2, 2024

Hey, indeed to implement webtransport, we need h3 to support it as you said. For the moment because it is not used a lot I prefer to wait for this.
If the implementation in h3 takes too long and that a general support is available in other languages / browsers, then I will think about integrating another lib to add webtransport.

@Totodore Totodore removed their assignment Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants