summary refs log tree commit diff
path: root/gateway/src/opcodes/Resume.ts
blob: 4efde9b054cec6710a01331e1ca3ee99ac0fa181 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
}