CIOMultipartDataBase
class CIOMultipartDataBase(val coroutineContext: CoroutineContext, channel: ByteReadChannel, contentType: CharSequence, contentLength: Long?, formFieldLimit: Int = 65536) : MultiPartData, CoroutineScope
Represents a multipart data object that does parse and convert parts to ktor's PartData
Constructors
Link copied to clipboard
constructor(coroutineContext: CoroutineContext, channel: ByteReadChannel, contentType: CharSequence, contentLength: Long?, formFieldLimit: Int = 65536)
Functions
Link copied to clipboard
Start a chunked stream decoder coroutine
Link copied to clipboard
fun CoroutineScope.parseMultipart(input: ByteReadChannel, headers: HttpHeadersMap): ReceiveChannel<MultipartEvent>
fun CoroutineScope.parseMultipart(input: ByteReadChannel, contentType: CharSequence, contentLength: Long?): ReceiveChannel<MultipartEvent>
Starts a multipart parser coroutine producing multipart events