Skip to content

Commit e3069e4

Browse files
authored
Update README.md
1 parent ba914ed commit e3069e4

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

pluto-plugins/plugins/network/README.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,11 @@ Pluto.Installer(this)
2222
.install()
2323
```
2424
<br>
25-
26-
> Note: If you are already using Network plugin, you need to do some code changes to migrate to version`2.1.7+`. Please [read here](https://github.com/androidPluto/pluto/wiki/Migrating-Network-plugin-to-version-2.1.7) for migration.
25+
<br>
2726

2827
### Add interceptors
2928

3029
#### 1. Okhttp Interceptor
31-
Add okhttp-interceptor dependency
32-
```groovy
33-
dependencies {
34-
debugImplementation "com.plutolib.plugins:network-interceptor-okhttp:$plutoVersion"
35-
releaseImplementation "com.plutolib.plugins:network-interceptor-okhttp-no-op:$plutoVersion"
36-
}
37-
```
38-
3930
Add interceptor in your OkHttp Client Builder
4031
```kotlin
4132
val client = OkHttpClient.Builder()
@@ -45,14 +36,6 @@ val client = OkHttpClient.Builder()
4536
<br>
4637

4738
#### 2. Ktor Interceptor
48-
Add ktor-interceptor dependency
49-
```groovy
50-
dependencies {
51-
debugImplementation "com.plutolib.plugins:network-interceptor-ktor:$plutoVersion"
52-
releaseImplementation "com.plutolib.plugins:network-interceptor-ktor-no-op:$plutoVersion"
53-
}
54-
```
55-
5639
Add interceptor in your HttpClient
5740
```kotlin
5841
val client = HttpClient {

0 commit comments

Comments
 (0)