()
| 15 | onConnection(ws) {} |
| 16 | onError(error) {} |
| 17 | start() { |
| 18 | const wss = new WebSocketServer({ server: this.options.server }); |
| 19 | wss.on('listening', this.onListen); |
| 20 | wss.on('connection', this.onConnection); |
| 21 | wss.on('error', this.onError); |
| 22 | } |
| 23 | close() {} |
| 24 | } |
| 25 |
no outgoing calls
no test coverage detected