Empty

An empty multipart data stream

Functions

Link copied to clipboard
open suspend override fun readPart(): PartData?

Reads next part data or null if end of multipart stream encountered

Extensions

Link copied to clipboard
suspend fun MultiPartData.forEachPart(partHandler: suspend (PartData) -> Unit)

Parse multipart data stream and invoke partHandler for each PartData encountered

Link copied to clipboard

Parse multipart data stream and put all parts into a list