1
0
mirror of https://github.com/square/okhttp.git synced 2025-07-29 17:41:17 +03:00

Add explicit argument name in use lambda function in README.md (#8097)

This commit is contained in:
HyunWoo Lee (Nunu Lee)
2023-11-10 00:47:27 +09:00
committed by GitHub
parent 484c40f34e
commit 30780c879b

View File

@ -6,7 +6,7 @@ Support for Kotlin clients using coroutines.
```kotlin
val call = client.newCall(request)
call.executeAsync().use {
call.executeAsync().use { response ->
withContext(Dispatchers.IO) {
println(response.body?.string())
}