22 lines
964 B
Markdown
22 lines
964 B
Markdown
# Hermes
|
|
|
|
Hermes is a lightweight Swift package for simplifying network requests and responses in your iOS apps. It provides an easy-to-use API for making HTTP requests and handling JSON decoding, all wrapped in a concise and elegant syntax.
|
|
|
|
## Features
|
|
|
|
- **Simple API**: Hermes offers a straightforward API for sending HTTP requests and handling responses.
|
|
- **Async/Await**: Built with async/await in mind, making it easy to write asynchronous network code.
|
|
- **Error Handling**: Handle network errors and decoding failures with ease using Swift's error handling mechanisms.
|
|
- **Customizable**: You can customize the HTTP methods, headers, and more to suit your needs.
|
|
|
|
## Installation
|
|
|
|
### Swift Package Manager
|
|
|
|
You can use Swift Package Manager to integrate Hermes into your project. Add the following dependency to your `Package.swift` file:
|
|
|
|
```swift
|
|
dependencies: [
|
|
.package(url: "https://git.mahtan-melwasul.com/Mahtan/Hermes.git", from: "1.0.0")
|
|
]
|