Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class UniUploadFileInfo(val fileName: FileName, val mimeType: String, val inputAllocator: LambdaInputProvider)
Functions
Link copied to clipboard
inline suspend fun <T : Any> <Error class: unknown class>.bodyOrNull(): <Error class: unknown class>?
Link copied to clipboard
Link copied to clipboard
input Provider Sync
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect suspend fun <Error class: unknown class>.tempUpload(fullTempUploadDraftPath: String, file: MPPFile, onUpload: OnUploadCallback = { _, _ -> }): TemporalFileId
Link copied to clipboard
Link copied to clipboard
expect suspend fun <T> <Error class: unknown class>.uniUpload(url: String, data: Map<String, Any>, resultDeserializer: DeserializationStrategy<T>, headers: <Error class: unknown class> = Headers.Empty, stringFormat: StringFormat = Json, onUpload: OnUploadCallback = { _, _ -> }): T?
Will execute submitting of multipart data request
suspend fun <T> <Error class: unknown class>.uniUpload(url: String, file: MPPFile, resultDeserializer: DeserializationStrategy<T>, additionalData: Map<String, Any> = emptyMap(), headers: <Error class: unknown class> = Headers.Empty, stringFormat: StringFormat = Json, onUpload: OnUploadCallback = { _, _ -> }): T?
suspend fun <T> <Error class: unknown class>.uniUpload(url: String, info: UniUploadFileInfo, resultDeserializer: DeserializationStrategy<T>, additionalData: Map<String, Any> = emptyMap(), headers: <Error class: unknown class> = Headers.Empty, stringFormat: StringFormat = Json, onUpload: OnUploadCallback = { _, _ -> }): T?
Additional variant of uniUpload which will unify sending of some UniUploadFileInfo with the server
suspend fun <T> <Error class: unknown class>.uniUpload(url: String, fileName: FileName, mimeType: String, inputAllocator: LambdaInputProvider, resultDeserializer: DeserializationStrategy<T>, additionalData: Map<String, Any> = emptyMap(), headers: <Error class: unknown class> = Headers.Empty, stringFormat: StringFormat = Json, onUpload: OnUploadCallback = { _, _ -> }): T?
Additional variant of uniUpload which will unify sending of some UniUploadFileInfo (built from fileName, mimeType and inputAllocator) with the server