Adding Timeout and Retry to an HTTP Client in TypeScript
hi, how can i have timeout in this http client
timeout and retry
timeout and retry
const client = defaultClient.pipe(
HttpClient.mapRequest(HttpClientRequest.updateUrl(withLeadingSlash)),
HttpClient.mapRequest(HttpClientRequest.prependUrl(dynoProxyLocation)),
HttpClient.mapRequest(HttpClientRequest.acceptJson),
HttpClient.followRedirects(3),
)