1
0
mirror of https://github.com/square/okhttp.git synced 2025-07-31 05:04:26 +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 ```kotlin
val call = client.newCall(request) val call = client.newCall(request)
call.executeAsync().use { call.executeAsync().use { response ->
withContext(Dispatchers.IO) { withContext(Dispatchers.IO) {
println(response.body?.string()) println(response.body?.string())
} }