CallbackWrapper(androidJvm)

open class CallbackWrapper(androidJvm)

Constructors

CallbackWrapper
Link copied to clipboard
open fun CallbackWrapper(service: MapboxOkHttpService, id: Long, call: Call, callback: CallbackWrapper.RequestCallback, interceptor: HttpServiceInterceptorInterface)

Types

RequestCallback
Link copied to clipboard
interface RequestCallback

Functions

cancel
Link copied to clipboard
open fun cancel()
open fun cancel(error: HttpRequestError)
onFailure
Link copied to clipboard
open fun onFailure(call: Call, exception: IOException)
onResponse
Link copied to clipboard
open fun onResponse(call: Call, response: Response)