Unified Requester
class UnifiedRequester(val client: <ERROR CLASS> = HttpClient(), val serialFormat: <ERROR CLASS> = standardKtorSerialFormat)
Content copied to clipboard
Constructors
Link copied to clipboard
fun UnifiedRequester(client: <ERROR CLASS> = HttpClient(), serialFormat: <ERROR CLASS> = standardKtorSerialFormat)
Content copied to clipboard
Functions
Link copied to clipboard
fun <T> createStandardWebsocketFlow( url: String, deserializer: <ERROR CLASS><T>, requestBuilder: <ERROR CLASS>.() -> Unit = {}): <ERROR CLASS>
Content copied to clipboard
Link copied to clipboard
fun <T> encodeUrlQueryValue(serializationStrategy: <ERROR CLASS><T>, value: T): <ERROR CLASS>
Content copied to clipboard
Link copied to clipboard
suspend fun <ResultType> uniget(url: String, resultDeserializer: <ERROR CLASS><ResultType>): ResultType
Content copied to clipboard
Link copied to clipboard
suspend fun <ResultType> unimultipart( url: String, mppFile: MPPFile, resultDeserializer: <ERROR CLASS><ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
Content copied to clipboard
suspend fun <BodyType, ResultType> unimultipart( url: String, mppFile: MPPFile, otherData: Pair<<ERROR CLASS><BodyType>, BodyType>, resultDeserializer: <ERROR CLASS><ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
Content copied to clipboard
suspend fun <ResultType> unimultipart( url: String, filename: String, inputProvider: <ERROR CLASS>, resultDeserializer: <ERROR CLASS><ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
Content copied to clipboard
suspend fun <BodyType, ResultType> unimultipart( url: String, filename: String, inputProvider: <ERROR CLASS>, otherData: Pair<<ERROR CLASS><BodyType>, BodyType>, resultDeserializer: <ERROR CLASS><ResultType>, mimetype: String = "*/*", additionalParametersBuilder: <ERROR CLASS>.() -> Unit = {}, dataHeadersBuilder: <ERROR CLASS>.() -> Unit = {}, requestBuilder: <ERROR CLASS>.() -> Unit = {}): ResultType
Content copied to clipboard
Link copied to clipboard
suspend fun <BodyType, ResultType> unipost( url: String, bodyInfo: Pair<<ERROR CLASS><BodyType>, BodyType>, resultDeserializer: <ERROR CLASS><ResultType>): <ERROR CLASS>
Content copied to clipboard
Properties
Extensions
temp Upload
Link copied to clipboard
suspend fun UnifiedRequester.tempUpload( fullTempUploadDraftPath: String, file: MPPFile, onUpload: (uploaded: Long, count: Long) -> Unit = { _, _ -> }): TemporalFileId
Content copied to clipboard
suspend fun UnifiedRequester.tempUpload( fullTempUploadDraftPath: String, file: MPPFile, onUpload: (uploaded: Long, count: Long) -> Unit = { _, _ -> }): TemporalFileId
Content copied to clipboard
suspend fun UnifiedRequester.tempUpload( fullTempUploadDraftPath: String, file: MPPFile, onUpload: (uploaded: Long, count: Long) -> Unit = { _, _ -> }): TemporalFileId
Content copied to clipboard