https://kotlinlang.org logo
#ktor
Title
# ktor
b

bitkid

07/31/2020, 6:36 AM
is it possible to access a file which is part of a multipart request in a streaming way? (without being written to disk/memory) It seems when i do call.receiveMultipart() and then loop over the parts, it returns the part only when it has been completely written. Any way to avoid that?
seems like MultiPartData.readPart() always reads the full Part and is implemented server specific (NettyMultiPartData, CIO). any plans to expose the parts as a stream?
2 Views