Suspend Response Converter
Implement this to support wrapping for custom types in suspend functions e.g. suspend fun test() : MyCustomType
Functions
supported Type
Link copied to clipboard
Check if this converter supports the return type
wrap Response
Link copied to clipboard
abstract suspend fun <PRequest : Any> wrapResponse(returnTypeName: String, requestFunction: suspend () -> <ERROR CLASS><<ERROR CLASS>, <ERROR CLASS>>): Any
Content copied to clipboard
Inheritors
KtorfitSuspendCallResponseConverter
Link copied to clipboard