MCPcopy
hub / github.com/freshframework/fresh / put

Method put

packages/fresh/src/test_utils.ts:36–40  ·  view source on GitHub ↗
(path: string, body?: BodyInit)

Source from the content-addressed store, hash-verified

34 return await this.handler(req, STUB);
35 }
36 async put(path: string, body?: BodyInit): Promise<Response> {
37 const url = this.toUrl(path);
38 const req = new Request(url, { method: "put", body });
39 return await this.handler(req, STUB);
40 }
41 async delete(path: string): Promise<Response> {
42 const url = this.toUrl(path);
43 const req = new Request(url, { method: "delete" });

Callers

nothing calls this directly

Calls 2

toUrlMethod · 0.95
handlerMethod · 0.80

Tested by

no test coverage detected