Hi, I am developing a client feature which retries...
# ktor
c
Hi, I am developing a client feature which retries the request in some cases. Which pipeline and phase best fit for an interceptor like this? For instance in the case of connection refused exception where should I handle it?
👍 1
e
Hi @Cláudio Bartolomeu, consider intercepting
HttpSend
feature.
f
I've tried that suggestion, however the
HttpSend
feature only runs the interceptors after having a successful response from the
DefaultSender
. If the first
sender.execute
throws, the
HttpSend
interceptor terminates immediately.
t
@Felix did you find out a solution?