MCPcopy Create free account
hub / github.com/damms005/devdb-vscode / put

Method put

src/services/http-client.ts:153–168  ·  view source on GitHub ↗
(
    url: string,
    body: Record<string, any>,
    headers: Record<string, string> = {},
    retry?: RetryConfig
  )

Source from the content-addressed store, hash-verified

151 }
152
153 async put<T = any>(
154 url: string,
155 body: Record<string, any>,
156 headers: Record<string, string> = {},
157 retry?: RetryConfig
158 ): Promise<HttpResponse<T>> {
159 return makeRequestWithRetry<T>(url, {
160 method: 'PUT',
161 headers: {
162 'Content-Type': 'application/json',
163 ...headers
164 },
165 body,
166 retry: retry || this.defaultRetryConfig
167 });
168 }
169
170 async delete<T = any>(
171 url: string,

Callers

nothing calls this directly

Calls 1

makeRequestWithRetryFunction · 0.85

Tested by

no test coverage detected