Skip to content

nenosinc/Froggy

Repository files navigation

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 or the Invasive Species Action Network, or volunteering for charities like The Amphibian Foundation.

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:

https://github.com/nenosllc/Froggy.git

Contributing

Please! Come one, come all! Contributions more than welcome 🙂