send: body any type.

This commit is contained in:
Miroslav Šedivý 2021-01-28 17:11:26 +01:00
parent 962b84d89e
commit 54f7514336
2 changed files with 3 additions and 3 deletions

View File

@ -230,11 +230,11 @@
this.websocket.send('screen/set', { width, height, rate })
}
public sendUnicast(receiver: string, subject: string, body: string) {
public sendUnicast(receiver: string, subject: string, body: any) {
this.websocket.send('send/unicast', { receiver, subject, body })
}
public sendBroadcast(subject: string, body: string) {
public sendBroadcast(subject: string, body: any) {
this.websocket.send('send/broadcast', { subject, body })
}