From 3e9868a5bcc94072ee12550ef2269400ca6acf81 Mon Sep 17 00:00:00 2001 From: chentianming Date: Fri, 7 Oct 2022 17:02:10 +0800 Subject: [PATCH] README --- README.md | 2 +- README_EN.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 286b015..dde7411 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ retrofit: ### 自定义OkHttpClient -If you need to modify other configuration of `OkHttpClient`, you can do it by customizing `OkHttpClient`, the steps are as follows: +如果需要修改`OkHttpClient`其它配置,可以通过自定义`OkHttpClient`来实现,步骤如下: 1. 实现`SourceOkHttpClientRegistrar`接口,调用`SourceOkHttpClientRegistry#register()`方法注册`OkHttpClient`。 diff --git a/README_EN.md b/README_EN.md index aa32a0d..0205ba5 100644 --- a/README_EN.md +++ b/README_EN.md @@ -147,6 +147,8 @@ If you only need to modify the timeout time of `OkHttpClient`, you can modify it ### Customize OkHttpClient +If you need to modify other configuration of `OkHttpClient`, you can do it by customizing `OkHttpClient`, the steps are as follows: + 1. Implement the `SourceOkHttpClientRegistrar` interface and call the `SourceOkHttpClientRegistry#register()` method to register the `OkHttpClient`. ```java