receiveNullable

open suspend override fun <T> receiveNullable(typeInfo: TypeInfo): T?(source)

Deprecated

Use 'receive<T>(typeInfo)' with nullable T instead

Replace with

receive<T?>(typeInfo)

Receives content for this request.

Report a problem

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.