Empty

An empty multipart data stream.

Functions

Link copied to clipboard

Transforms the multipart data stream into a Flow of PartData.

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.

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

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