MCPcopy Create free account
hub / github.com/codeaashu/claude-code / constructor

Method constructor

web/lib/api/stream.ts:111–116  ·  view source on GitHub ↗
(
    private readonly url: string,
    private readonly opts: SSEConnectionOptions
  )

Source from the content-addressed store, hash-verified

109 private reconnectTimer: ReturnType<typeof setTimeout> | undefined;
110
111 constructor(
112 private readonly url: string,
113 private readonly opts: SSEConnectionOptions
114 ) {
115 this.maxReconnects = opts.maxReconnects ?? 5;
116 }
117
118 connect(): void {
119 if (this.closed) return;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected