S.
12/12/2024, 3:15 PMFlow with a ktor client? on the server side it seems to work seamlessly with call.respond(flow(...)) but when I try client.get("url").body<Flow<Object>>() it fails with kotlinx.serialization.json.internal.JsonDecodingException: Expected JsonObject, but had JsonArray as the serialized body of kotlinx.serialization.Polymorphic<Flow>Aleksei Tirman [JB]
12/13/2024, 9:09 AMS.
12/13/2024, 1:38 PMS.
12/13/2024, 1:40 PMcall.respond(Flow<A>) instead of manually using call.respondBytesWriter etc. so I'm wondering whether flows also work natively on the clientAleksei Tirman [JB]
12/13/2024, 1:58 PMS.
12/13/2024, 2:48 PMval channel: ByteReadChannel = httpResponse.bodyAsChannel() instead of just .body() though?S.
12/13/2024, 4:27 PMAleksei Tirman [JB]
12/16/2024, 9:04 AMS.
12/18/2024, 2:14 PMS.
12/18/2024, 2:19 PM