We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa1534c commit d3b810dCopy full SHA for d3b810d
packages/protocol/src/client-server-protocol/jsonrpc/websocket-connection.ts
@@ -35,7 +35,7 @@ import {
35
* independent of the underlying WebSocket implementation/library. e.g. one could use Socket.io instead of plain WebSockets
36
*/
37
export interface WebSocketWrapper extends Disposable {
38
- send(content: string): void;
+ send(content: string | ArrayBufferLike | ArrayBufferView): void;
39
onMessage(cb: (data: any) => void): void;
40
onError(cb: (reason: any) => void): void;
41
onClose(cb: (code: number, reason: string) => void): void;
0 commit comments