MultipartEvent
Represents a multipart content starting event. Every part need to be completely consumed or released via release
Types
Link copied to clipboard
Represents a multipart content epilogue. A multipart stream could have at most one epilogue.
Link copied to clipboard
class MultipartPart(headers: Deferred<HttpHeadersMap>, body: ByteReadChannel) : MultipartEvent
Content copied to clipboard
Represents a multipart part. There could be any number of parts in a multipart stream. Please note that it is important to consume body otherwise multipart parser could get stuck (suspend) so you will not receive more events.
Link copied to clipboard
Represents a multipart content preamble. A multipart stream could have at most one preamble.