ktor-multiplatform
CommunityKtor-based multiplatform networking.
AuthordimitriRemoiville
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides a cohesive KMM networking layer using Ktor Client across shared and platform code, with common serialization, engine injection, and error mapping to streamline API calls and data handling.
Core Features & Use Cases
- Shared HttpClient setup in commonMain with ContentNegotiation (Json) and DefaultRequest
- Platform engine injection (OkHttp on Android, Darwin on iOS) via Koin
- API wrappers with thin, typed endpoints and token-based auth
- DTOs, mappers, and repository pattern for clean data access
- Testing guidance with MockEngine for multiplatform projects
Quick Start
Configure your KMM project to use the Ktor client in commonMain, inject the platform engines, and wire up a sample API to validate end-to-end networking.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ktor-multiplatform Download link: https://github.com/dimitriRemoiville/cc-mobile/archive/main.zip#ktor-multiplatform Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.