quiqua
07/18/2019, 2:05 PMHttpClient
provided by ktor - can it be used as a singleton or should new requests made with different instances ?quiqua
07/18/2019, 2:07 PMkodein
configuration to use a singleton bind<HttpClient>() with singleton { HttpClient(OkHttp) }
, but are also confronted with a memory leak in our app and I currently suspect the HttpClient 🤔e5l
07/18/2019, 2:11 PMquiqua
07/18/2019, 2:13 PMquiqua
07/18/2019, 2:27 PMHttpResponse.close
method called automatically or is it my responsibility to do so at some part of the code execution?e5l
07/18/2019, 2:28 PMclose
manually or with response.use { }
methodquiqua
07/18/2019, 2:30 PM