Methods
Optional
alarm
- alarm(): void | Promise<void>
Returns void | Promise<void>
Optional
webSocketClose
- webSocketClose(ws, code, reason, wasClean): void | Promise<void>
Parameters
- ws: WebSocket
- code: number
- reason: string
- wasClean: boolean
Returns void | Promise<void>
Optional
webSocketError
- webSocketError(ws, error): void | Promise<void>
Returns void | Promise<void>
Optional
webSocketMessage
- webSocketMessage(ws, message): void | Promise<void>
Returns void | Promise<void>