### Specification This issue is an epic for tracking the pending work for the `Websockets` code. Specifically an extraction of the behaviour to `js-ws` which behave similarly to `js-quic`. ### Additional context * Related MatrixAI/Polykey#511 * Related MatrixAI/js-ws#4 * Related MatrixAI/Polykey#540 * Related MatrixAI/Polykey#400 ### Tasks - [x] 1. Test the backpressure from both client and server - [x] 2. Ensure `WebSocketStream` exists and we can mux and demux on top of a single `WebSocketConnection` - [x] 3. Make `WebSocketConection` equivalent to `QUICConnection`, but as a 1 to 1 to `WebSocket`
Specification
This issue is an epic for tracking the pending work for the
Websocketscode.Specifically an extraction of the behaviour to
js-wswhich behave similarly tojs-quic.Additional context
TLSconfigforWebSocketServerPolykey#511uwswithwsPolykey#540Tasks
WebSocketStreamexists and we can mux and demux on top of a singleWebSocketConnectionWebSocketConectionequivalent toQUICConnection, but as a 1 to 1 toWebSocket