Shubo
01/14/2025, 4:28 AMkotlinx.io.Source
of the response body that can be used to stream the body to the caller?
Ktor 3.x provides ByteReadChannelOperations.readRemaining() and ByteReadChannelOperations.readBuffer() but it seems they both wait for the whole response before returning to the caller.
Essentially, I'm trying to save to a file by lazily decoding the response using `kotlinx-serialization`'s decodeSourceToSequence().hfhbd
01/14/2025, 7:31 AM