https://kotlinlang.org logo
#ktor
Title
# ktor
d

davidasync

02/22/2019, 4:09 PM
I have a service that do http call to other service. Is it okay to not close() the ktor http client ?
s

Sergey Bondari

02/22/2019, 5:07 PM
Yes. Http client is designed fo reuse. Just don’t forget to read and close the response/call