Skip to content

Commit af1bc19

Browse files
committed
fix: Allow setting binaryType on WebSocket instances
1 parent aa5aee9 commit af1bc19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deno/WebSocketPolyfill.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ class WebSocketImpl extends EventTarget {
6464
return 'arraybuffer';
6565
}
6666

67+
set binaryType(value: any) {}
68+
6769
get bufferedAmount() {
6870
return 0;
6971
}

0 commit comments

Comments
 (0)