Closed XeroxDev closed 3 years ago
Is your feature request related to a problem? Please describe. The YTMD-App should send the information instead of requesting it all xxx ms.
Describe the solution you'd like Use SocketIO instead of fetch.
Describe alternatives you've considered Example script:
<!-- Required to include the Socket.IO library --> <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.3.0/socket.io.js"></script> <script> const server = "http://localhost:9863"; const socket = io(server); socket.on("connect", () => { console.debug('Connected') }); socket.on("disconnect", () => { console.debug('Disconnected') }); socket.on("tick", (data) => { console.debug(data); }); </script>
/cib
Branch issue-11-_FEATURE_Use_Socket_IO_instead_of_fetch created!
Is your feature request related to a problem? Please describe. The YTMD-App should send the information instead of requesting it all xxx ms.
Describe the solution you'd like Use SocketIO instead of fetch.
Describe alternatives you've considered Example script: