An open API service indexing awesome lists of open source software.

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.

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 🙂