CSHttpProcess

open class CSHttpProcess<Data : Any>(url: String, data: Data) : CSProcessBase<Data>

Constructors

Link copied to clipboard
fun <Data : Any> CSHttpProcess(url: String, data: Data)

Functions

Link copied to clipboard
open fun cancel()
Link copied to clipboard
fun failed(message: String): CSProcessBase<Data>
fun failed(process: CSProcessBase<*>)
fun failed(exception: Throwable?, message: String? = null)
Link copied to clipboard
fun onCancel(function: (CSProcessBase<Data>) -> Unit): CSProcessBase<Data>
Link copied to clipboard
open override fun onDestroy()
Link copied to clipboard
fun onDone(function: (CSProcessBase<Data>) -> Unit): CSProcessBase<Data>
Link copied to clipboard
fun onFailed(function: (CSProcessBase<*>) -> Unit): CSProcessBase<Data>
Link copied to clipboard
fun onSuccess(function: (CSProcessBase<Data>) -> Unit): CSProcessBase<Data>
Link copied to clipboard
fun success()
fun success(data: Data)
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val associated: CSAssociations
Link copied to clipboard
var data: Data?
Link copied to clipboard
val eventCancel: CSEvent<CSProcessBase<Data>>
Link copied to clipboard
override val eventDestroy: CSEvent<Unit>
Link copied to clipboard
val eventDone: CSEvent<CSProcessBase<Data>>
Link copied to clipboard
val eventFailed: CSEvent<CSProcessBase<*>>
Link copied to clipboard
val eventSuccess: CSEvent<CSProcessBase<Data>>
Link copied to clipboard
var failedMessage: String?
Link copied to clipboard
var failedProcess: CSProcessBase<*>?
Link copied to clipboard
var isCanceled: Boolean
Link copied to clipboard
var isDestroyed: Boolean
Link copied to clipboard
var isDone: Boolean
Link copied to clipboard
var isFailed: Boolean
Link copied to clipboard
var isSuccess: Boolean
Link copied to clipboard
val onProgress: CSEvent<CSProcessBase<Data>>
Link copied to clipboard
var progress: Long
Link copied to clipboard
override val registrations: CSRegistrations
Link copied to clipboard
var throwable: Throwable?
Link copied to clipboard
var title: String?
Link copied to clipboard
var url: String?