ktor-http-cio / io.ktor.http.cio / parsePart

parsePart

suspend fun parsePart(boundaryPrefixed: ByteBuffer, input: ByteReadChannel, output: ByteWriteChannel, limit: Long = Long.MAX_VALUE): Pair<HttpHeadersMap, Long>
Deprecated: This is going to be removed. Use parseMultipart instead.

Parse multipart part headers and body. Body bytes will be copied to output but up to limit bytes