(
url: string,
body: Record<string, any>,
headers: Record<string, string> = {},
retry?: RetryConfig
)
| 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, |
nothing calls this directly
no test coverage detected