okhttp / okhttp3 / OkHttpClient / interceptors

interceptors

open fun interceptors(): List<Interceptor>

Returns an immutable 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).