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

Method constructor

src/server/web/auth.ts:26–29  ·  view source on GitHub ↗
(maxPerWindow = 5, windowMs = 60_000)

Source from the content-addressed store, hash-verified

24 private readonly windowMs: number;
25
26 constructor(maxPerWindow = 5, windowMs = 60_000) {
27 this.maxPerWindow = maxPerWindow;
28 this.windowMs = windowMs;
29 }
30
31 /**
32 * Returns true if the connection should be allowed.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected