receiveChannel

inline suspend fun ApplicationCall.receiveChannel(): ByteReadChannel

Receives channel content for this call.

Return

instance of ByteReadChannel to read incoming bytes for this call.

Throws

when content cannot be transformed to the ByteReadChannel.