BrotliInterceptor

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

Link copied to clipboard
open override fun intercept(chain: Interceptor.Chain): Response