Ktorfit Suspend Call Response Converter
Converter to enable the use of Call<> as return type in suspend functions e.g. suspend fun test(): Call
Constructors
KtorfitSuspendCallResponseConverter
Link copied to clipboard
fun KtorfitSuspendCallResponseConverter()
Content copied to clipboard
Functions
supported Type
Link copied to clipboard
Check if this converter supports the return type
wrap Response
Link copied to clipboard
open suspend override fun <T : Any> wrapResponse(returnTypeName: String, requestFunction: suspend () -> <ERROR CLASS><<ERROR CLASS>, <ERROR CLASS>>): Any
Content copied to clipboard