mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
send: body any type.
This commit is contained in:
parent
962b84d89e
commit
54f7514336
@ -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 })
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user