ktor-http / io.ktor.http.content / OutgoingContent / WriteChannelContent / writeTo

writeTo

abstract suspend fun writeTo(channel: ByteWriteChannel): Unit

Receives channel provided by the engine and writes all data to it