Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
chentianming11 committed Oct 7, 2022
1 parent 049c3b3 commit 3e9868a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`。

Expand Down
2 changes: 2 additions & 0 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e9868a

Please sign in to comment.