append

fun <T : Any> append(key: String, value: T, headers: Headers = Headers.Empty)
fun append(key: String, value: String, headers: Headers = Headers.Empty)
fun append(key: String, value: Number, headers: Headers = Headers.Empty)
fun append(key: String, value: ByteArray, headers: Headers = Headers.Empty)
fun append(key: String, value: InputProvider, headers: Headers = Headers.Empty)
fun append(key: String, value: ByteReadPacket, headers: Headers = Headers.Empty)

Append a pair key:value with optional headers.


fun append(key: String, value: ChannelProvider, headers: Headers = Headers.Empty)

Append a pair key:ChannelProvider with optional headers.


fun <T : Any> append(part: FormPart<T>)

Append a form part.