cloudflare / cloudflare/workerd

bug/feat: implement `WebSocket::bufferedAmount` / backpressure

Open
#988 4 comments 2 reactions 0 assignees View on GitHub
Durable Objects feature request
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

Hiya! I just noticed that `bufferedAmount` isn't implemented on `WebSocket` (https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/bufferedAmount). It's not a perfect solution for backpressure, but it would be better than not having it at all.

In the future, what is your opinion on proposals like WebSocketStream? https://github.com/ricea/websocketstream-explainer/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.