Handshake

This commit is contained in:
2025-09-15 18:23:27 +02:00
parent 0f3e0ac68a
commit 2b7abc505b
5 changed files with 78 additions and 15 deletions
+2
View File
@@ -9,6 +9,8 @@ const ws = new WebSocket('ws://localhost:7080');
ws.onopen = () => {
console.log('WebSocket connection established');
console.log('Initializing handshake');
ws.send(JSON.stringify({ version: '0.0.1', auth_token: '<placeholder>' }))
};
ws.onmessage = (event) => {