1
0
mirror of https://github.com/square/okhttp.git synced 2025-08-08 23:42:08 +03:00

Add reusable CompressionInterceptor (#8967)

* Add reusable CompressionInterceptor.kt

Refactor Brotli and Zstd to use this, but also
allow trivial configuration of zstd,br,gzip.
This commit is contained in:
Yuri Schimke
2025-07-29 20:01:04 +00:00
committed by GitHub
parent 88593f8c28
commit 971101cacc
16 changed files with 296 additions and 140 deletions

View File

@@ -1,5 +1,4 @@
public final class okhttp3/zstd/ZstdInterceptor : okhttp3/Interceptor {
public static final field INSTANCE Lokhttp3/zstd/ZstdInterceptor;
public fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
public final class okhttp3/zstd/ZstdInterceptorKt {
public static final fun getZstd ()Lokhttp3/CompressionInterceptor$DecompressionAlgorithm;
}