preparation intégration reconaissance vocale

This commit is contained in:
Quentin Roussel
2023-03-23 09:53:16 +01:00
parent bc0270b707
commit e097c1fd23
13 changed files with 87 additions and 32 deletions

View File

@@ -1,5 +1,5 @@
class WebsocketClient {
constructor(onNewEffects, onNewGrade, onNewState) {
constructor(onNewEffects, onNewState, onNewGrade) {
this.socket = new WebSocket("ws://localhost:5000");
this.socket.addEventListener("open", (event) => {
this.socket.send("connected");