how can I do a network call inside a `HttpClientC...
# ktor
p
how can I do a network call inside a
HttpClientConfig<OkHttpConfig>
? I need to refresh my credentials on my server if I get a 401
y
You may want to do this as part of a OkHttp interceptor. This does something similar https://github.com/yschimke/okurl/blob/master/src/main/kotlin/com/baulsupp/okurl/authenticator/RenewingInterceptor.kt