-
Notifications
You must be signed in to change notification settings - Fork 73
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
WebSocketStream #970
Comments
@ricea the explainer talks about WebTransport as if it isn't a thing yet, but doesn't that have already multiple implementations. Is it not possible to support WebTransport API on top of various different kinds of network protocols? (I don't personally have too strong opinions on WebSocketStream. The proposed API does look quite nice and simple when comparing to WebTransport which definitely is very complex) |
Yes, sorry, I missed that part when I was updating the explainer. I fixed it in ricea/websocketstream-explainer#22. I think WebTransport over HTTP/2 will eventually be supported by browsers. There is also a polyfill of the WebTransport API over WebSocket. Ironically, this would benefit from the backpressure support provided by WebSocketStream. |
Request for Mozilla Position on an Emerging Web Specification
@
-mention GitHub accounts): @riceaOther information
WebSocketStream is a new API for the WebSocket protocol that enables backpressure by integrating with Streams. The benefits are better behaviour when one side cannot keep up with the data rate, and a more modern API.
The text was updated successfully, but these errors were encountered: