* Handle a new connection.
(ws: WebSocket)
| 26 | * Handle a new connection. |
| 27 | */ |
| 28 | markNewConnection(ws: WebSocket): void { |
| 29 | if (this.server.options.metrics.enabled) { |
| 30 | this.driver.markNewConnection(ws); |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * Handle a disconnection. |
nothing calls this directly
no test coverage detected