gregopet
08/17/2018, 12:06 PMclient.call {
url("<https://192.168.2.233:4040/jokes/random>")
method = HttpMethod.Get
}
and it never completes - I should probably wait until it's out of alpha, right? 🙂alex009
08/17/2018, 12:07 PMgregopet
08/17/2018, 12:08 PMalex009
08/17/2018, 12:09 PMbuildscript {
ext {
kotlin_version = '1.2.51'
kotlin_native_version = '0.8.2'
coroutines_version = '0.24.0'
ktor_version = '0.9.4-dev-3'
maven { url '<https://dl.bintray.com/touchlabpublic/kotlin>' }
maven { url '<https://kotlin.bintray.com/ktor>' }
}
}
dependencies {
implementation "io.ktor:ktor-client:$ktor_version"
implementation "io.ktor:ktor-client-json:$ktor_version"
}
dependencies {
implementation "io.ktor:ktor-client-ios:$ktor_version"
implementation "io.ktor:ktor-client-json-ios:$ktor_version"
}
dependencies {
implementation "io.ktor:ktor-client-android:$ktor_version"
implementation "io.ktor:ktor-client-json-jvm:$ktor_version"
}
gregopet
08/17/2018, 12:22 PM