Hello, How do i include ByteWriteChannel which is ...
# ktor
o
Hello, How do i include ByteWriteChannel which is in the "io" package? I'm getting an error in this line.
Copy code
import kotlinx.coroutines.experimental.io.ByteWriteChannel
Here is my gradle dependency for the module.
Copy code
dependencies {
    compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
    compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:$ktx"
    compile "io.ktor:ktor-server-netty:$ktor_version"
    compile "io.ktor:ktor-network:$ktor_version"
}
My Ktor version is 0.9.5(yes, I can't reuse newer library since I'm reusing older codebase)
Basically whats the package where this "io" package is located?
Never mind solved it. Is there any difference in the code from version 0.9.5 to version 1.1.3 for Ktor in raw sockets?
d
Maybe structured concurrency.