Sandwich
🥪 Sandwich is an adaptable and lightweight sealed API library designed for handling API responses and exceptions in Kotlin for Retrofit, Ktor, and Kotlin Multiplatform.
About
Sandwich was conceived to streamline the creation of standardized interfaces to model responses from Retrofit, Ktor, and whatever. This library empowers you to handle body data, errors, and exceptional cases more succinctly, utilizing functional operators within a multi-layer architecture. With Sandwich, the need to create wrapper classes like Resource or Result is eliminated, allowing you to concentrate on your core business logic. Sandwich boasts features such as global response handling, Mapper, Operator, and exceptional compatibility, including ApiResponse With Coroutines.
Open Source Health
- Stars
- 1,771
- Forks
- 114
- License
- Apache-2.0
- Last commit
- 1 months ago
Related Categories
Vendor
Jaewoong Eum
Open-source projects on GitHub: Sandwich, Compose Stability Analyzer and Needs
Quick Links
Open Source
More by Jaewoong Eum
Related Products
Novel
Notion-style WYSIWYG editor with AI-powered autocompletion.
Shared categories
Parse-SDK-JS
Parse JavaScript SDK
Shared categories
LuaNode
Lua sdk for Esp32/Esp32c2/Esp32c3/Esp32c6/Esp8266/STM32L4
Shared categories
Aqtinstall
Another unofficial Qt installer
Shared categories
Fuels Ts
Fuel Network Typescript SDK
Shared categories