Albert
07/09/2019, 2:22 PMInputStream
as response. But I have to close the client also at one point.
val response = client.execute(httpGet)
if (response.entity != null) {
callContext.result(response.entity.content)
}
client.close()
I think sending the data is handled in a separate thread and resulting in an error when the client closes