Call.Factory is the correct API for clients, that allows intercetping calls to Call.Factory.newCall(). However it's not commonly used and does lose some features such as newBuilder().
I'm suggesting a new API for Call.Factory.Interceptor that will be part of OkHttpClient.Builder and allow replacing the Call instance.
Uses
Call.Factory is the correct API for clients, that allows intercetping calls to
Call.Factory.newCall(). However it's not commonly used and does lose some features such as newBuilder().I'm suggesting a new API for Call.Factory.Interceptor that will be part of OkHttpClient.Builder and allow replacing the Call instance.
Uses