https://github.com/avijeetpandey/blaze
A framework to make network calls using swift
https://github.com/avijeetpandey/blaze
framework networking protocol-oriented-programming rest-api swift
Last synced: 9 months ago
JSON representation
A framework to make network calls using swift
- Host: GitHub
- URL: https://github.com/avijeetpandey/blaze
- Owner: avijeetpandey
- License: mit
- Created: 2024-04-28T05:45:31.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-28T16:14:09.000Z (over 1 year ago)
- Last Synced: 2025-01-25T06:25:27.429Z (11 months ago)
- Topics: framework, networking, protocol-oriented-programming, rest-api, swift
- Language: Swift
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Blaze :tada: :rocket:
A networking library made using `Swift` on top of `URLSession`, this allows to quickly setting up network layer in any application and move faster.
## Features
- Ability to make network calls (GET,POST)
- Ability to cancel the network requests
- Ability to set default headers and authorization
- Ability to pass codables and decoded accordingly
## In process
- Advanced logging support
- Adding middlewares
- Adding interceptors
### How to use
```swift
import Blaze
Blaze.initialise(with: )
Blaze.setDefaultHeader()
// if you have auth
Blaze.setAuthorization()
// to make get call
Blaze.get("/endpoint", completion)
```
This is how to use this module in order to make network request
Made with ❤️ using `Swift`