receive
Receives content for this request.
Return
instance of T received from this call.
Throws
when content cannot be transformed to the requested type.
Receives content for this request.
Return
instance of T received from this call.
Parameters
type
instance of KClass
specifying type to be received.
Throws
when content cannot be transformed to the requested type.
suspend fun <T : Any> ApplicationCall.receive(typeInfo: <ERROR CLASS>): T
Content copied to clipboard
Receives content for this request.
Return
instance of T received from this call.
Parameters
typeInfo
instance specifying type to be received.
Throws
when content cannot be transformed to the requested type.