wrap Response
open suspend 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
request Function
a suspend function that will return a typeInfo of Ktor's requested type and the HttpResponse
return Type Name
is the qualified name of the outer type of the return type. e.g. for Flow