Foso

Ktorfit

Foso

HTTP client generator / KSP plugin for Kotlin Multiplatform (Android, iOS, Js, Jvm, Native, WasmJs)) using KSP and Ktor clients inspired by Retrofit https://foso.github.io/Ktorfit

AI 简介

Ktorfit 是一个为 Kotlin 多平台项目(包括 Android、iOS、Js、Jvm 和 Native 等)设计的 HTTP 客户端生成器和 KSP 插件,灵感来源于 Retrofit。它利用 KSP (Kotlin Symbol Processing) 和 Ktor 客户端技术,通过注解处理器自动生成网络请求代码,简化了开发者处理 HTTP 请求的过程。Ktorfit 支持多种平台,使得跨平台开发中的网络请求实现更加一致且高效。适用于需要在不同平台上保持统一网络层实现的应用场景,尤其是那些希望减少重复代码并提高开发效率的多平台应用开发项目。

Kotlin
Apache License 2.0
2.1k
Stars
77
Forks
14
Watchers
43
Issues

Star 增长

今日0
近 7 天+4
近 30 天+20
综合评分61.68
默认分支master