okhttp / okhttp3 / OkHttpClient / Builder / interceptors

interceptors

fun interceptors(): MutableList<Interceptor>

Returns a modifiable list of interceptors that observe the full span of each call: from before the connection is established (if any) until after the response source is selected (either the origin server, cache, or both).