Skip to content

Commit 62440fd

Browse files
Update README.md
1 parent f01c910 commit 62440fd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,14 @@ val client = PodcastIndexClient(...) {
134134
defaultTimeout = 5_000L // 5 seconds
135135
}
136136
```
137-
- Customize or choose a different HTTP client:
137+
- Customize or choose a different HTTP client which is useful if you use a certain HTTP client instance in your app with special configuration and you want to make the SDK reuse the same instance:
138138
```kotlin
139139
val client = PodcastIndexClient(...) {
140140
httpClient(Okhttp) {
141-
// Customize OkHttp engine configuration
141+
// Customize OkHttp client configuration
142+
engine {
143+
preconfigured = okHttpClientInstance
144+
}
142145
}
143146
}
144147
```

0 commit comments

Comments
 (0)