Open endel opened 9 months ago
Hi @endel ! Thank you so much for the minimal reproduction link! :star2: Super cool :smiley:
We'll investigate, our support for arraybuffer
might be buggy.
I'll keep you posted!
https://github.com/websockets/ws/issues/1175 It might be helpful
It has been 10 months. Please resolve this issue quickly.
Description of Bug
The WebSocket client doesn't seem to be receiving the payload correctly when using
.binaryType = "arraybuffer"
.https://stackblitz.com/edit/stackblitz-starters-uuauht?file=public%2Findex.html
Steps to Reproduce
binaryType
used ("blob"
receives correctly, whereas"arraybuffer"
seems to be receiving additional bytes)Expected Behavior
Both WebSocket client connections should be receiving the exact data sent by the server (
[10]
)Screenshots/Screencast