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 a59fff2 commit e5a75b0Copy full SHA for e5a75b0
src/lib/proxy/lib/proxy.ts
@@ -1189,7 +1189,7 @@ Proxy.prototype._onWebSocketFrame = function (
1189
type,
1190
fromServer,
1191
data,
1192
- flags
+ isBinary
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, flags);
+ destWebSocket.send(data, { binary: isBinary });
1225
break;
1226
case "ping":
1227
destWebSocket.ping(data, flags, false);
0 commit comments