1 files changed, 14 insertions, 0 deletions
diff --git a/src/opcodes/Resume.ts b/src/opcodes/Resume.ts
new file mode 100644
index 00000000..4efde9b0
--- /dev/null
+++ b/src/opcodes/Resume.ts
@@ -0,0 +1,14 @@
+import { CLOSECODES, Payload } from "../util/Constants";
+import { Send } from "../util/Send";
+
+import WebSocket from "../util/WebSocket";
+
+export async function onResume(this: WebSocket, data: Payload) {
+ console.log("Got Resume -> cancel not implemented");
+ await Send(this, {
+ op: 9,
+ d: false,
+ });
+
+ // return this.close(CLOSECODES.Invalid_session);
+}
|