You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to intercept data from WebSocket, but the data appears to be unreadable (it's a buffer). When I attempt to use toString(), I receive something like ���mlL�� and the WebSocket just doesn't work when I use socket.setEncoding().
I've tried to retrieve the socket from proxyReq, socket, server.on("upgrade") but the result remains the same (even is the Buffer are differents).
I'm attempting to intercept data from WebSocket, but the data appears to be unreadable (it's a buffer). When I attempt to use
toString()
, I receive something like���mlL��
and the WebSocket just doesn't work when I usesocket.setEncoding()
.I've tried to retrieve the socket from
proxyReq
,socket
,server.on("upgrade")
but the result remains the same (even is the Buffer are differents).Do you have any advice on what I should do?
Thanks!
The text was updated successfully, but these errors were encountered: