FileItem
class FileItem(val provider: () -> ByteReadChannel, val dispose: () -> Unit, partHeaders: Headers) : PartData
Represents a file item
Properties
Link copied to clipboard
Parsed Content-Disposition
header or null
if missing
Link copied to clipboard
Parsed Content-Type
header or null
if missing
Link copied to clipboard
Original file name if present
Link copied to clipboard
of content bytes
Link copied to clipboard
Provides file item's content as an InputStream