cy
12/29/2019, 8:02 AM1.3.0-rc2
It’s time to test and migrate, the final release is coming after New Year Holidays.
See the migration page: https://ktor.io/quickstart/migration/1.3.0.html
🎄 Please note that we have long New Year Holidays here so no worries if we don’t respond quickly.Aleksey Chugaev
12/29/2019, 9:02 AMcy
12/29/2019, 12:46 PMnapperley
12/29/2019, 9:37 PMDmitri Sh
12/30/2019, 1:25 AMtry {
<http://wsclient.ws|wsclient.ws> (
method = HttpMethod.Get,
host = hostn,
port = portn, path = "/ws"
) {
send(Frame.Text("Android client connecting"))
I originally experienced this with an android phone client, and then it just went away on its ownAdded a wearos project, same problem (they are both using the same shared common lib), but here it's just not going awayDmitri Sh
12/30/2019, 1:26 AMcy
12/30/2019, 11:37 AMcy
12/30/2019, 11:39 AMDmitri Sh
12/30/2019, 4:18 PMsourceSets["commonMain"].dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-common")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core-common:1.3.3")
// Serialize
implementation ("org.jetbrains.kotlinx:kotlinx-serialization-runtime-common:0.14.0")
implementation ("io.ktor:ktor-client-core:$ktorversion")
implementation ("io.ktor:ktor-client-json:$ktorversion")
implementation ("io.ktor:ktor-client-logging:$ktorversion")
implementation ("io.ktor:ktor-client-serialization:$ktorversion")
implementation("io.ktor:ktor-client-websockets:$ktorversion")
implementation ("io.ktor:ktor-client-cio:$ktorversion")
}
sourceSets["androidMain"].dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib")
implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3")
implementation ("io.ktor:ktor-client-android:$ktorversion")
implementation ("io.ktor:ktor-client-core-jvm:$ktorversion")
implementation ("io.ktor:ktor-client-json-jvm:$ktorversion")
implementation ("io.ktor:ktor-client-logging-jvm:$ktorversion")
implementation ("io.ktor:ktor-client-serialization-jvm:$ktorversion")
implementation("io.ktor:ktor-client-websockets-jvm:$ktorversion")
//implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0")
}
cy
12/30/2019, 4:36 PMcy
12/30/2019, 4:36 PMcy
12/30/2019, 4:37 PMDmitri Sh
12/30/2019, 5:38 PMDmitri Sh
12/30/2019, 6:00 PMcy
12/30/2019, 6:20 PMDmitri Sh
12/30/2019, 6:22 PMAleksey Chugaev
12/31/2019, 11:57 AM