Hello, I am using ktor client, I am wondering how ...
# ktor
m
Hello, I am using ktor client, I am wondering how can I get the response from the client without using coroutines? found some links that say to use
runBlocking
but still not sure how to get the response outside of it?
h
runblocking
waits and returns the last expression in the lambda
Copy code
val syncValue = runBlocking { client.get("<https://google.com>") }
👍 1
m
thanks