ktor-server-core / io.ktor.request / receiveStream

receiveStream

inline suspend fun ApplicationCall.receiveStream(): InputStream

Receives stream content for this call.

Exceptions

ContentTransformationException - when content cannot be transformed to the InputStream.

Return
instance of InputStream to read incoming bytes for this call.