We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcca356 commit 15fe20aCopy full SHA for 15fe20a
backend/kobweb-api/src/main/kotlin/com/varabyte/kobweb/api/http/Multipart.kt
@@ -44,10 +44,7 @@ interface Multipart {
44
/**
45
* Extra values beyond the common set, provided specifically based the type of part that we are dealing with.
46
*/
47
- // NOTE: Only File for now. But we use a sealed interface to future proof this API; the upstream ktor API uses its
48
- // own sealed interface to split between the four types of incoming parts so it seemed useful that we might do the
49
- // same.
50
- sealed interface Extras {
+ interface Extras {
51
class File(val originalFileName: String?) : Extras
52
}
53
0 commit comments