mirror of
https://github.com/spacebarchat/server.git
synced 2026-06-06 13:21:50 +00:00
15 lines
358 B
TypeScript
15 lines
358 B
TypeScript
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);
|
|
}
|