CallAdapter

interface CallAdapter

Types

SupportType
Link copied to clipboard
enum SupportType : Enum<CallAdapter.SupportType>

Functions

convertResponse
Link copied to clipboard
abstract fun <T> convertResponse(httpResponse: Any): T
convertSuspendCall
Link copied to clipboard
abstract fun <PRequest : Any> convertSuspendCall(returnTypeName: String, function: suspend () -> Pair<PRequest, HttpResponse>): Any
getSupported
Link copied to clipboard
abstract fun getSupported(): List<CallAdapter.SupportType>
supportedType
Link copied to clipboard
abstract fun supportedType(returnTypeName: String): Boolean

Inheritors

FlowCallAdapter
Link copied to clipboard
KtorfitCallAdapter
Link copied to clipboard