Hi. As far as I can understand Ktor features are s...
# ktor
r
Hi. As far as I can understand Ktor features are split into separate libraries. What is the way to find out exact gradle dependency of a feature? Documentation doesn’t mention it.
l
Hello, you should have what you're looking for here: https://ktor.io/docs/artifacts.html
r
@louiscad still no luck. It redirects to https://ktor.io/docs/gradle.html and don't see a list of artifacts.
d
@rsetkus hi, currently we are working on adding information about feature artifacts to our docs. If you don’t see artifacts in a topic for a specific feature, feel free to file an issue or submit topic feedback at the bottom of the page
r
Thanks @duuusha. Submitted. Particularly, I am looking for HttpTimeout client feature. Can you tell me please, where can I find gradle dependency?
l
@rsetkus It should be in the http client dependency out of the box.
d
yes, AFAIS,
io.ktor:ktor-client-core
and
io.ktor:ktor-client-core-jvm
is enough. I’ll add this information to https://ktor.io/docs/timeout.html
r
Gee. 🤦🏻‍♂️ It is pebcak issue. I swear Intellij couldn't find a class to import (no import option). Now it does. Thanks both of you for reply. @duuusha that would be great. Since IntelliJ failed to suggest an import option, I was looking for gradle dependency on internet. If there was statement that it comes by default, that would have had saved some time to me.
l
On the other hand, timeout can be expected to be a basic feature that is consequently provided by default.