Skip to content

Interface: IWebSocketManager ​

Methods ​

connect(dialogs): Promise<void> ​

Parameters ​

`

| Name | Type | Description |

|------|------|-------------| | dialogs | DialogModel[] | |

Returns ​

Promise<void>


off(event, listener): this ​

Parameters ​

`

| Name | Type | Description |

|------|------|-------------| | event | string | | | listener | (...args) => void | |

Returns ​

this *? ***

on(event, listener): this ​

Parameters ​

`

| Name | Type | Description |

|------|------|-------------| | event | string | | | listener | (...args) => void | |

Returns ​

this *? ***

send(data): void ​

Parameters ​

`

| Name | Type | Description |

|------|------|-------------| | data | string | |

Returns ​

void