//okhttp-brotli/okhttp3.brotli/BrotliInterceptor
BrotliInterceptor¶
[jvm]\ object BrotliInterceptor : Interceptor
Transparent Brotli response support.
Adds Accept-Encoding: br to request and checks (and strips) for Content-Encoding: br in responses. n.b. this replaces the transparent gzip compression in BridgeInterceptor.
Functions¶
Name | Summary |
---|---|
intercept | [jvm] open override fun intercept(chain: Interceptor.Chain): Response |