(peer, message)
| 129 | } |
| 130 | |
| 131 | _send(peer, message) { |
| 132 | if (!peer) return; |
| 133 | if (this._wss.readyState !== this._wss.OPEN) return; |
| 134 | message = JSON.stringify(message); |
| 135 | peer.socket.send(message, error => ''); |
| 136 | } |
| 137 | |
| 138 | _keepAlive(peer) { |
| 139 | this._cancelKeepAlive(peer); |
no test coverage detected