retrywhen Questions
2
I'm trying to catch http request's errors from an Angular interceptor and handle 401 as logout while retrying a 503 and 504 responses n times.
This is my http interceptor:
intercept(req: HttpRequ...
Centuple asked 18/4, 2019 at 15:16
1
Solved
During unit testing retry the response of the mock seems cached, or most probably I am doing something wrong.
I am trying to request something, if error happened then retry twice with delay of 1 se...
Dangelo asked 19/1, 2022 at 11:59
3
I am attempting to unit test a custom RxJS operator. The operator is very simple, it uses RetryWhen to retry a failed HTTP request, but has a delay and will only retry when the HTTP Error is in the...
Gillett asked 8/8, 2019 at 15:10
1
Solved
I've been learning Spring Webflux and reactive programming and have gotten stuck on a problem I'm trying to solve around retry logic using Spring Webclient. I've created a client and made successfu...
Herra asked 15/1, 2021 at 22:5
2
Solved
I'm calling an API using Retrofit 2 and RxJava2.
If a call fails, in some cases (e.g. no Internet connection), I want to display an error dialog to the user and let him retry.
As I'm using RxJava,...
1
© 2022 - 2025 — McMap. All rights reserved.