add

fun add(name: String, size: Long, getContent: suspend () -> AsyncInputStreamWithLength, fileName: String? = null, contentType: String? = null): HttpBodyContentMultiPartFormData
fun add(name: String, content: ByteArray, fileName: String? = null, contentType: String? = null): HttpBodyContentMultiPartFormData
fun add(name: String, content: String, contentCharset: Charset = UTF8, fileName: String? = null, contentType: String? = null): HttpBodyContentMultiPartFormData
suspend fun add(name: String, content: AsyncStream, fileName: String? = null, contentType: String? = null): HttpBodyContentMultiPartFormData
suspend fun add(name: String, file: VfsFile, fileName: String? = file.baseName, contentType: String? = fileName?.let { MimeType.getByExtensionOrNull(PathInfo(fileName).extensionLC)?.mime })