diff options
author | Kyle Gunger <corechg@gmail.com> | 2020-09-29 01:53:49 -0400 |
---|---|---|
committer | Kyle Gunger <corechg@gmail.com> | 2020-09-29 01:53:49 -0400 |
commit | 673d16d8f2fb9d7b7df5f6fcadfbc665f329887c (patch) | |
tree | a75381de6b9d2441310599de71fd7ea5d143b153 /scripts/socket/sock.js | |
parent | 04010b3b1f6ba6fc44d2cd0cd6a8a39446cd7b1d (diff) |
More drag updates
Diffstat (limited to 'scripts/socket/sock.js')
-rw-r--r-- | scripts/socket/sock.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/socket/sock.js b/scripts/socket/sock.js index 4eacc18..31b9a7f 100644 --- a/scripts/socket/sock.js +++ b/scripts/socket/sock.js @@ -62,4 +62,9 @@ class SockWorker extends EventTarget{ var m = new Message(type, data); this.socket.send(m.stringify()) } + + // Raw message the server + sendRaw (s) { + this.socket.send(s) + } } |