MCPcopy
hub / github.com/codeaashu/claude-code / reconnect

Method reconnect

src/remote/RemoteSessionManager.ts:320–323  ·  view source on GitHub ↗

* Force reconnect the WebSocket. * Useful when the subscription becomes stale after container shutdown.

()

Source from the content-addressed store, hash-verified

318 * Useful when the subscription becomes stale after container shutdown.
319 */
320 reconnect(): void {
321 logForDebugging('[RemoteSessionManager] Reconnecting WebSocket')
322 this.websocket?.reconnect()
323 }
324}
325
326/**

Callers 1

useRemoteSessionFunction · 0.95

Calls 1

logForDebuggingFunction · 0.85

Tested by

no test coverage detected