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

Method constructor

web/lib/api/client.ts:102–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 private readonly inflight = new Map<string, Promise<Response>>();
101
102 constructor() {
103 this.baseUrl = getBaseUrl();
104 this.apiKey = getApiKey();
105 }
106
107 private buildHeaders(extra?: Record<string, string>): Record<string, string> {
108 const headers: Record<string, string> = {

Callers

nothing calls this directly

Calls 2

getBaseUrlFunction · 0.70
getApiKeyFunction · 0.70

Tested by

no test coverage detected