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.