Skip to content

Ktor client or Ktorfit for new KM project? #213

Answered by Foso
nathanmeade asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, with Ktorfit you can define your network API based on interfaces and annotations similar to the way Retrofit works. And it can be used with KM Projects. Ktorfit is built on top of Ktor Clients, similar to how Retrofit uses OkHttp. When you want to keep using something similar to Retrofit but in KM Projects, use Ktorfit. When you want to avoid code generation, use just Ktor clients.

When you want to try Ktorfit, please take a look at the example projects https://github.com/Foso/Ktorfit/tree/master/example/

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nathanmeade
Comment options

Answer selected by nathanmeade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants