Retrying HttpClient requests based on response

Using
HttpClient
is it possible to retry a request based on a response? I'm currently looking at transform and/or filterOrElse, but struggling to do what I need.

The use case is: if the response is 401, retry the current request only when another effect is executed and successful
Was this page helpful?