ByteChannel
Deprecated
We're migrating to the new kotlinx-io library. This declaration is deprecated and will be removed in Ktor 4.0.0 If you have any problems with migration, please contact us in https://youtrack.jetbrains.com/issue/KTOR-6030/Migrate-to-new-kotlinx.io-library
Creates buffered channel for asynchronous reading and writing of sequences of bytes.
Creates buffered channel for asynchronous reading and writing of sequences of bytes.
fun ByteChannel(autoFlush: Boolean = false, exceptionMapper: (Throwable?) -> Throwable?): ByteChannel
Creates a buffered channel for asynchronous reading and writing of sequences of bytes using close function to close a channel.
Creates a buffered channel for asynchronous reading and writing of sequences of bytes.
Creates a buffered channel for asynchronous reading and writing of sequences of bytes.