core/network
CommunityEfficient HTTP client infrastructure for CMP app
Authorcloner93
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a robust HTTP client infrastructure for the Compose Multiplatform app, handling request building, authentication, error mapping, and a network manager abstraction.
Core Features & Use Cases
- HTTP Client Infrastructure: Offers a structured approach to building HTTP requests, managing authentication, and handling errors.
- NetworkManager: Serves as the primary interface for repositories, wrapping responses in
Flow<Result<T>>. - Authentication: Manages token-based authentication with in-memory storage and automatic header injection.
- Error Handling: Maps HTTP status codes to typed exceptions for robust error management.
- Platform-specific Engines: Supports Android, iOS, JVM Desktop, and wasmJs with appropriate HTTP client engines.
Quick Start
Use the core/network skill to execute a GET request to the endpoint '/groups' with the necessary headers.
Dependency Matrix
Required Modules
ktor-client-*, koin-core, kotlinx-serialization-json, core/logger
Components
scriptsreferences
💻 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: core/network Download link: https://github.com/cloner93/ExpenseShare/archive/main.zip#core-network 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 620,000+ vetted skills library on demand.