ktor-server-core / io.ktor.features / kotlinx.coroutines.CoroutineScope / writeMultipleRanges

writeMultipleRanges

fun CoroutineScope.writeMultipleRanges(channelProducer: (LongRange) -> ByteReadChannel, ranges: List<LongRange>, fullLength: Long?, boundary: String, contentType: String): ByteReadChannel
Deprecated: This is going to be removed. Use PartialContent feature instead.

Start multirange response writer coroutine