Hello Everyone,
Recently, I happened to write a new Swift Package Manager package that makes it easier to build more structured and scalable APIs for HTTP communication between client and server.
HTTPNetworkClient is a lightweight Swift package that helps you build a clean and testable networking layer for REST APIs. It uses typed APIRequest definitions, a shared RequestBuilder for base URLs and headers, and an async/await-powered HTTP client, while still allowing custom URLSession and JSONDecoder injection when needed.
The package supports both iOS and macOS, and aims to keep API integration simple, explicit, and easy to maintain without adding unnecessary abstraction. It is a small utility for Swift developers who want structured request modeling, predictable error handling, and a straightforward foundation for network-driven apps.
Please let me know what you think.