wrap Response
open override fun <T : Any> wrapResponse(returnTypeName: String, requestFunction: suspend () -> <ERROR CLASS><<ERROR CLASS>, <ERROR CLASS>>): Any
Content copied to clipboard
Return
the wrapped response
Parameters
return Type Name
is the qualified name of the outer type of
request Function
a suspend function that will return a typeInfo of Ktor's requested type and the HttpResponse the return type. e.g. for Flow