MCPcopy
hub / github.com/openclaw/clawsweeper / match

Method match

test/dashboard-worker.test.ts:91–93  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

89 private values = new Map<string, Response>();
90
91 async match(request: Request) {
92 return this.values.get(request.url)?.clone();
93 }
94
95 async put(request: Request, response: Response) {
96 this.values.set(request.url, response.clone());

Calls 1

getMethod · 0.45

Tested by

no test coverage detected