https://github.com/nenosinc/froggy
Composable, concurrent networking for modern Swift applications.
https://github.com/nenosinc/froggy
concurrency networking swift
Last synced: 2 months ago
JSON representation
Composable, concurrent networking for modern Swift applications.
- Host: GitHub
- URL: https://github.com/nenosinc/froggy
- Owner: nenosinc
- Created: 2023-05-26T18:25:51.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-04T01:37:33.000Z (over 1 year ago)
- Last Synced: 2025-02-02T13:43:47.249Z (4 months ago)
- Topics: concurrency, networking, swift
- Language: Swift
- Homepage: https://nenos.one
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Froggy
Composable, concurrent networking for modern Swift applications. Froggy provides an extremely lightweight layer over the Foundation networking APIs to make it ultra-easy to compose complex requests.
## Features
- Run and map `URLSession` tasks to your custom objects in a single `run()` call
- Compose `URLRequest` objects using extended functions like `addPath()` and `addQueryItems()`
- Easily add authentication and standard headers to your requests
- Errors are handled and mapped for you, making it easy to understand what went wrong (if anything)
- Safely set the expected HTTP Method## Why "Froggy"? 🐸
Naming is hard. Frogs are cool. Somehow the word association from "network" to "web" to "webbed feet" to "frogs" just made sense. Plus, frog populations have been declining worldwide at unprecedented rates, and nearly one-third of the world’s amphibian species are threatened with extinction.Consider making a donation to charities that further conservation and environmental efforts like [Save The Frogs](https://savethefrogs.com) or the [Invasive Species Action Network](https://stopais.org), or volunteering for charities like [The Amphibian Foundation](https://www.amphibianfoundation.org).
## Installation
You're welcome to do it the good ol' manual way by copying the _Sources_ folder. Or you can use Swift Package Manager and set the package path to:```swift
https://github.com/nenosllc/Froggy.git
```## Contributing
Please! Come one, come all! Contributions more than welcome 🙂