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(statusFilter: (<Error class: unknown class>) -> Boolean = { it.status == HttpStatusCode.OK }): <Error class: unknown class>?
Link copied to clipboard
inline suspend fun <T : Any> <Error class: unknown class>.bodyOrNullOnNoContent(): <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun tempUpload(fullTempUploadDraftPath: String, file: MPPFile, onUpload: <Error class: unknown class>): TemporalFileId
Link copied to clipboard
expect suspend fun <Error class: unknown class>.tempUpload(fullTempUploadDraftPath: String, file: MPPFile, onUpload: <Error class: unknown class> = ProgressListener { _, _ -> }): 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: <Error class: unknown class> = ProgressListener { _, _ -> }): 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: <Error class: unknown class> = ProgressListener { _, _ -> }): 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: <Error class: unknown class> = ProgressListener { _, _ -> }): 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: <Error class: unknown class> = ProgressListener { _, _ -> }): T?
Additional variant of uniUpload which will unify sending of some UniUploadFileInfo (built from fileName, mimeType and inputAllocator) with the server