MCPcopy
hub / github.com/microsoft/playwright / socketClosed

Method socketClosed

packages/utils/socksProxy.ts:582–586  ·  view source on GitHub ↗
({ uid }: SocksSocketClosedPayload)

Source from the content-addressed store, hash-verified

580 }
581
582 socketClosed({ uid }: SocksSocketClosedPayload): void {
583 debugLogger.log('socks', `[${uid}] <= browser socket closed`);
584 this._sockets.get(uid)?.destroy();
585 this._sockets.delete(uid);
586 }
587}

Callers 2

cleanupMethod · 0.95
constructorMethod · 0.80

Calls 4

destroyMethod · 0.80
logMethod · 0.65
getMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected