forEachPart

suspend fun MultiPartData.forEachPart(
    partHandler: suspend (PartData) -> Unit
): Unit

Parse multipart data stream and invoke partHandler for each PartData encountered

Parameters

partHandler - to be invoked for every part item