Displaying location info from websocket

This commit is contained in:
metacryst
2025-10-31 21:54:57 -05:00
parent 152faaecee
commit 620d50cad7
9 changed files with 222 additions and 6 deletions

View File

@@ -0,0 +1,22 @@
import Connection from "./Connection.js";
export default class ConnectionHandler {
connection;
disabled = true;
constructor() {
this.connection = new Connection();
}
isOpen() {
if(this.connection.checkOpen()) {
return true;
} else {
return false;
}
}
send(msg) {
this.connection.sendMessage(msg)
}
}