Get the latest tech news
WebSocketStream API
WebSocketStream integrates streams with the WebSocket API. This allows your app to apply backpressure to received messages.
Similarly, video capture and other applications that generate a lot of data in the browser that needs to be uploaded to the server. LaunchNot started The WebSocketStream API is promise-based, which makes dealing with it feel natural in a modern JavaScript world. Be sure to include as much detail as you can, simple instructions for reproducing, and enter Blink>Network>WebSockets in the Components box.
Or read this on Hacker News