Problem with Bun Websocket Adapter #163
ValentinKolb
started this conversation in
General
Replies: 1 comment 5 replies
-
|
Thanks for reporting! The bun adapter needs to updated anyway. I'll look into it later this week. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
WebSocket messages received as "[object Blob]" string in dev mode
When sending WebSocket messages in dev mode, the server receives the literal string
"[object Blob]"instead of the actual message content.Steps to reproduce:
Environment:
bunxto run dev serverwspackage under the hoodThe issue appears to be related to how the dev middleware handles message conversion when the underlying
wspackage receives data. The data seems to be incorrectly converted to string, resulting in the default JavaScript object toString representation.Has anyone else encountered this issue?
Beta Was this translation helpful? Give feedback.
All reactions