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: Boolean, 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)

Appends a pair key:value with optional headers.


fun append(key: String, values: Iterable<String>, headers: Headers = Headers.Empty)
fun append(key: String, values: Array<String>, headers: Headers = Headers.Empty)

Appends a pair key:values with optional headers.


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

Appends a pair key:ChannelProvider with optional headers.


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

Appends a form part.