Preamble

class Preamble : MultipartEvent

Represents a multipart content preamble. A multipart stream could have at most one preamble.

Constructors

<init>

Preamble(body: ByteReadPacket)

Represents a multipart content preamble. A multipart stream could have at most one preamble.

Properties

body

val body: ByteReadPacket

contains preamble’s content

Functions

release

fun release(): Unit

Release underlying data/packet.