(
url: string,
headers: Record<string, string> = {},
retry?: RetryConfig
)
| 168 | } |
| 169 | |
| 170 | async delete<T = any>( |
| 171 | url: string, |
| 172 | headers: Record<string, string> = {}, |
| 173 | retry?: RetryConfig |
| 174 | ): Promise<HttpResponse<T>> { |
| 175 | return makeRequestWithRetry<T>(url, { |
| 176 | method: 'DELETE', |
| 177 | headers, |
| 178 | retry: retry || this.defaultRetryConfig |
| 179 | }); |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | export const httpClient = new HttpClient(); |
no test coverage detected