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 })
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ export const CURSOR_IMAGE = 'cursor/image'
|
||||
|
||||
export const BORADCAST_STATUS = 'broadcast/status'
|
||||
|
||||
export const SEND_UNICAST = 'send/unicast'
|
||||
export const SEND_UNICAST = 'send/unicast'
|
||||
export const SEND_BROADCAST = 'send/broadcast'
|
||||
|
||||
export const FILE_CHOOSER_DIALOG_OPENED = 'file_chooser_dialog/opened'
|
||||
|
Loading…
Reference in New Issue
Block a user