RequestCallback

class RequestCallback(scope: ProducerScope<Request.Event>, httpClient: OkHttpClient, dispatcher: CoroutineDispatcher) : Callback

Constructors

Link copied to clipboard
fun RequestCallback(scope: ProducerScope<Request.Event>, httpClient: OkHttpClient, dispatcher: CoroutineDispatcher)

Functions

Link copied to clipboard
open override fun onFailure(call: Call, e: IOException)
Link copied to clipboard
open override fun onResponse(call: Call, response: Response)