uniUpload

suspend fun <T> <Error class: unknown class>.uniUpload(url: String, file: MPPFile, resultDeserializer: <Error class: unknown class><T>, additionalData: Map<String, Any> = emptyMap(), headers: <Error class: unknown class> = Headers.Empty, stringFormat: <Error class: unknown class> = Json, onUpload: OnUploadCallback = { _, _ -> }): T?

Additional variant of uniUpload which will unify sending of some MPPFile with the server

See also

dev.inmo.micro_utils.ktor.server.uniloadMultipartFile

suspend fun <T> <Error class: unknown class>.uniUpload(url: String, info: UniUploadFileInfo, resultDeserializer: <Error class: unknown class><T>, additionalData: Map<String, Any> = emptyMap(), headers: <Error class: unknown class> = Headers.Empty, stringFormat: <Error class: unknown class> = Json, onUpload: OnUploadCallback = { _, _ -> }): T?

Additional variant of uniUpload which will unify sending of some UniUploadFileInfo with the server

See also

dev.inmo.micro_utils.ktor.server.uniloadMultipartFile

suspend fun <T> <Error class: unknown class>.uniUpload(url: String, fileName: FileName, mimeType: String, inputAllocator: LambdaInputProvider, resultDeserializer: <Error class: unknown class><T>, additionalData: Map<String, Any> = emptyMap(), headers: <Error class: unknown class> = Headers.Empty, stringFormat: <Error class: unknown class> = Json, onUpload: OnUploadCallback = { _, _ -> }): T?

Additional variant of uniUpload which will unify sending of some UniUploadFileInfo (built from fileName, mimeType and inputAllocator) with the server

See also

dev.inmo.micro_utils.ktor.server.uniloadMultipartFile