Skip to content

Commit 90b7063

Browse files
Replace ZstdInterceptor with CompressionInterceptor (#9336)
* Replace ZstdInterceptor with CompressionInterceptor * Gzip as fallback --------- Co-authored-by: Jesse Wilson <jesse@swank.ca>
1 parent 1443c0c commit 90b7063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

okhttp-zstd/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Note that zstd is not used for sending requests.
99

1010
```java
1111
OkHttpClient client = new OkHttpClient.Builder()
12-
.addInterceptor(ZstdInterceptor.INSTANCE)
12+
.addInterceptor(CompressionInterceptor(Zstd, Gzip))
1313
.build();
1414
```
1515

0 commit comments

Comments
 (0)