updated protocols
This commit is contained in:
parent
531a32a5a5
commit
cda3bab739
3 changed files with 6 additions and 6 deletions
|
|
@ -13,10 +13,10 @@ export default function useWebSockets(
|
|||
messageCallback: (message: string) => void,
|
||||
connectionStatusCallback: (status: string) => void,
|
||||
statusOptions?: {
|
||||
openMessage: string,
|
||||
pongMessage: string,
|
||||
closeMessage: string,
|
||||
pingErrorMessage: string,
|
||||
openMessage: string;
|
||||
pongMessage: string;
|
||||
closeMessage: string;
|
||||
pingErrorMessage: string;
|
||||
},
|
||||
) {
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import useWebsockets from "./composables/useWebsockets";
|
|||
import { backgroundMitt, ipcEmit } from "@/composables/useEmitter";
|
||||
|
||||
// UI state
|
||||
let uiState = new UIState()
|
||||
const uiState = new UIState()
|
||||
|
||||
// let audio = new Audio();
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
interface ClientProtocol {
|
||||
header: string;
|
||||
body: Init | Update
|
||||
body: Init | Update;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue