MCPcopy Create free account
hub / github.com/arctic-cli/interface / makeMethodFn

Function makeMethodFn

packages/sdk/js/src/v2/gen/client/client.gen.ts:229–229  ·  view source on GitHub ↗
(method: Uppercase<HttpMethod>)

Source from the content-addressed store, hash-verified

227 }
228
229 const makeMethodFn = (method: Uppercase<HttpMethod>) => (options: RequestOptions) => request({ ...options, method })
230
231 const makeSseFn = (method: Uppercase<HttpMethod>) => async (options: RequestOptions) => {
232 const { opts, url } = await beforeRequest(options)

Callers 1

createClientFunction · 0.85

Calls 1

requestFunction · 0.70

Tested by

no test coverage detected