Join Slack
How important is it to close a ktor httpclient? Is it reasonable to have one kept around as a single...
# ktor
t
Trevor Stone
06/09/2021, 8:12 PM
How important is it to close a ktor httpclient? Is it reasonable to have one kept around as a singleton that is never explicitly closed?
e
edenman
06/09/2021, 8:24 PM
that’s what i do
edenman
06/09/2021, 8:25 PM
OkHttp doesn’t require closing its client so I’ve been following that pattern
edenman
06/09/2021, 8:25 PM
No issues
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by