You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer I want to have a websocket class in the frontend so that I can receive events e.g. music stopped) from the backend in real time.
Description:
Implement a web socket class in the frontend. Check if this can be realized using Opine (see client examples). If not, check if it can be done the native browser api. Use a separate file for your implementation.
🟢 In scope:
Implement a Socket class that creates a new web socket, opens a backend connection. and can be imported by other modules for registering callback listening functions.
Add/test functionality to receive messages and pass them to the caller (no modification here)
Create default listeners for open, close, etc.
🔴 Not in scope:
Backend implementation of the web socket
Web socket documentation
What should be the result?
A working web socket implementation in the frontend.
The text was updated successfully, but these errors were encountered:
Description:
Implement a web socket class in the frontend. Check if this can be realized using Opine (see client examples). If not, check if it can be done the native browser api. Use a separate file for your implementation.
🟢 In scope:
Socket
class that creates a new web socket, opens a backend connection. and can be imported by other modules for registering callback listening functions.open
,close
, etc.🔴 Not in scope:
What should be the result?
A working web socket implementation in the frontend.
The text was updated successfully, but these errors were encountered: