mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
harden
This commit is contained in:
parent
d04aa83258
commit
dcd6dc00f4
83 changed files with 1797 additions and 390 deletions
|
|
@ -54,6 +54,9 @@ export class WebSocketService {
|
|||
}
|
||||
|
||||
public send(message: Uint8Array): void {
|
||||
if (!this.socket) {
|
||||
return;
|
||||
}
|
||||
this.socket.send(message as unknown as ArrayBufferView);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue