FormPart

data class FormPart<T : Any>(key: String, value: T, headers: Headers)

Multipart form item. Use it to build form in client.

Parameters

key

multipart name

value
headers

part headers, note that some servers may fail if an unknown header provided

Constructors

Link copied to clipboard
fun <T : Any> FormPart(key: String, value: T, headers: Headers = Headers.Empty)

Properties

Link copied to clipboard
val headers: Headers
Link copied to clipboard
val key: String
Link copied to clipboard
val value: T