-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Release 0.2.0 This release contains convenient helper methods that wrap Swift's Combine + URLSession and supplies an enjoyable and succinct developer experience to: - Build and make requests - Encode json Body - Decode the Json Responses - Handle Status Code Validation - Return developer friendly errors to work with ## What is not in this release All the desired helper methods `patch` `delete` etc., ## Notes The branch was titled `release1.0` by mistake.
- Loading branch information
Showing
6 changed files
with
60 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
# HTTPEngine | ||
![Swift](https://github.com/JZDesign/HTTPEngine/workflows/Swift/badge.svg) | ||
![Swift](https://github.com/JZDesign/HTTPEngine/workflows/Swift/badge.svg) [![SPM compatible](https://img.shields.io/badge/SPM-compatible-e66f20.svg?style=flat)](https://github.com/apple/swift-package-manager) [![Docs](https://img.shields.io/badge/Jazzy-Documentation-634fb3.svg?style=flat)](https://jzdesign.github.io/HTTPEngine/) | ||
|
||
A description of this package. | ||
A convenience wrapper around Swift's Combine and URLSession to make `URLRequests` | ||
|
||
## SPM | ||
```swift | ||
dependencies: [ | ||
.package(url: "https://github.com/JZDesign/HTTPEngine.git", .upToNextMajor(from: "0")) | ||
], | ||
``` | ||
|
||
## [View Documentation](https://jzdesign.github.io/HTTPEngine/) | ||
|
||
Documentation generated by [Jazzy](https://github.com/realm/jazzy). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
import Foundation | ||
|
||
|
||
public enum HTTPMethod: String, CaseIterable { | ||
case post | ||
case get | ||
case patch | ||
case delete | ||
case put | ||
case head | ||
case options | ||
case trace | ||
case connect | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters