//
koffee-backend
/
eu.yeger.koffee.utility
/
respondWithResult
respondWithResult
Responds to a call using the
Result
and its status code. Uses the data for
Result.Success
es and error for
Result.Failure
s.
Author
Jan Müller
Parameters
<receiver>
The target call.
result
The
Result
used for responding.
suspend fun
ApplicationCall
.
respondWithResult
(result:
Result
<*>)
Content copied to clipboard