diff --git a/lib/wss.js b/lib/wss.js index 519b184..c5bdbfb 100644 --- a/lib/wss.js +++ b/lib/wss.js @@ -362,7 +362,7 @@ const Wss = ({ connectionId ); } - connection.send(encoded); + connection.socket.send(encoded); // metrics const ct = process.hrtime(); const f = ct[0] - response.meta.passTrough.time[0];