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

hfhbd

08/24/2021, 12:48 PM
Hey, why is
streamProvider
only available for
PartData.FileItem
and not for all
PartData
subclasses? It is only a shortcut for
provider().asStream()
https://github.com/ktorio/ktor/blob/1bd92eaa4974dc0b09757c635895ce0e38474a95/ktor-http/jvm/src/io/ktor/http/content/MultipartJvm.kt
a

Aleksei Tirman [JB]

08/24/2021, 2:12 PM
Please file a feature request to add extension functions for all subclasses. It's available for
FileItem
only because it's used in a test.
h
7 Views