Hi guys, Is there a way to rerun the request when intercepting the response pipeline? I'm trying to implement a Refresh Token Feature but I can't figure a way to rerun the request with the new token.
r
rsetkus
10/17/2020, 9:08 PM
Copy code
val requestBuilder = HttpRequestBuilder().takeFrom(context.request)
val result: HttpResponse = context.client!!.request(requestBuilder)
proceedWith(result)