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

PHondogo

11/16/2019, 7:43 PM
Hello! What is the best practice to use HttpClient? Is it normal to create singelton instanse of it and use for the application lifecycle? Or I should create one for each call?
e

e5l

11/18/2019, 10:57 AM
Hi @PHondogo, It’s ok for both cases
p

PHondogo

11/18/2019, 10:58 AM
Thanks!
2 Views