As I read from docs, OkHttp uses lists to track interceptors, and interceptors are called in order.
But what is first being called a list of interceptors or an authenticator?
As I read from docs, OkHttp uses lists to track interceptors, and interceptors are called in order.
But what is first being called a list of interceptors or an authenticator?
Reading the source, the authenticator is called by RetryAndFollowUpInterceptor that is added to the call's interceptor list after the client's interceptors. So, client interceptors are invoked first.