We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a8498 commit 4d7ba6fCopy full SHA for 4d7ba6f
src/lib/proxy/lib/proxy.ts
@@ -1189,7 +1189,7 @@ Proxy.prototype._onWebSocketFrame = function (
1189
type,
1190
fromServer,
1191
data,
1192
- isBinary
+ flags
1193
) {
1194
var self = this;
1195
async.forEach(
@@ -1221,7 +1221,7 @@ Proxy.prototype._onWebSocketFrame = function (
1221
if (destWebSocket.readyState === WebSocket.OPEN) {
1222
switch (type) {
1223
case "message":
1224
- destWebSocket.send(data, { binary: isBinary });
+ destWebSocket.send(data, { binary: flags });
1225
break;
1226
case "ping":
1227
destWebSocket.ping(data, flags, false);
0 commit comments