Ktorfit is a HTTP client/Kotlin Symbol Processor for Kotlin Multiplatform ( Android, iOS, Js, Jvm, Linux) using KSP and Ktor clients inspired by Retrofit
Please see the documentation at https://foso.github.io/Ktorfit/
See https://foso.github.io/Ktorfit/#compatibility
Project | Version |
---|---|
Ktorfit Gradle Plugin | |
ktorfit-lib | |
ktorfit-lib-light | |
compiler-plugin | |
ktorfit-ksp | |
ktorfit-converters-flow | |
ktorfit-converters-call | |
ktorfit-converters-response |
The main dependencies will stay on Ktor 2.x till Ktor 3 is stable. When you want to use Ktor 3 and WasmJs, you need to replace your dependencies with a "ktor3" version, you can use the following packages:
Project | Version |
---|---|
ktorfit-lib-light-ktor-3.0.0 | |
ktorfit-lib-ktor-3.0.0 | |
ktorfit-converters-flow-ktor-3.0.0 | |
ktorfit-converters-call-ktor-3.0.0 | |
ktorfit-converters-response-ktor-3.0.0 |
You can find all Ktorfit packages on Maven Central.
🔎 Check the latest changes to update your project.
🛠 Follow the setup page for more details
Feel free to send feedback on Twitter or file an issue. Feature requests/Pull Requests are always welcome.
Some parts of this project are reusing ideas that are originally coming from Retrofit from Square. Thank you for Retrofit!
Thanks to JetBrains for Ktor and Kotlin!
Ktorfit is brought to you by these contributors.
This project is licensed under the Apache License, Version 2.0 - see the LICENSE.md file for details