MCPcopy
hub / github.com/soketi/soketi / markNewConnection

Method markNewConnection

src/metrics/metrics.ts:28–32  ·  view source on GitHub ↗

* Handle a new connection.

(ws: WebSocket)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

markNewConnectionMethod · 0.65

Tested by

no test coverage detected