[Subtask] Implement Akkor with WebSockets #64

Closed
opened 2025-11-20 11:22:47 +01:00 by Janis · 0 comments
Owner

🧾 Description

Implement Websockets with Akkor and establish a connection.
The Websocket serverpart (backendpart) needs to be in the UserSession.
Also implement a Websocket KeepAlive Packet which needs to be send every 5s.


🔗 Linked Issues


⚙️ Steps / Tasks

  • Add Akkor Library
  • Implement the websocket serverpart in the UserSession
  • Connect to the Websocket Serverpart from the Client via JavaScript
  • Test if message sending works as expected - Echo Test (client -> server -> client)
  • Implement the Keep Alive Packet
  • Remove Polling

Developer Hints

https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_client_applications


Definition of Done

  • Websocket is established and is kept alive
  • Messages can be send from the server to the client and vice versa
  • Reviewed and merged
## 🧾 Description Implement Websockets with Akkor and establish a connection. The Websocket serverpart (backendpart) needs to be in the UserSession. Also implement a Websocket KeepAlive Packet which needs to be send every 5s. --- ## 🔗 Linked Issues - Parent Story: #61 --- ## ⚙️ Steps / Tasks - [x] Add Akkor Library - [x] Implement the websocket serverpart in the UserSession - [x] Connect to the Websocket Serverpart from the Client via JavaScript - [x] Test if message sending works as expected - Echo Test (client -> server -> client) - [x] Implement the Keep Alive Packet - [x] Remove Polling --- ## Developer Hints https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_client_applications --- ## ✅ Definition of Done - [x] Websocket is established and is kept alive - [x] Messages can be send from the server to the client and vice versa - [ ] Reviewed and merged
Janis added the
Type
Subtask
1
label 2025-11-20 11:22:47 +01:00
lq64 was assigned by Janis 2025-11-20 12:02:51 +01:00
Janis added the
Kind/Enhancement
Kind/Feature
Priority
Critical
1
Size
S
4
labels 2025-11-20 12:03:26 +01:00
Janis self-assigned this 2025-11-22 18:35:54 +01:00
Janis closed this issue 2025-11-23 16:12:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KnockOutWhist/KnockOutWhist-Web#64
No description provided.