PbufferedAmount
Bun

property

WebSocket.bufferedAmount

readonly bufferedAmount: number

The number of bytes of data that have been queued using send() but not yet transmitted to the network