Releases: urjhams/Networking
Releases · urjhams/Networking
No more require Codable type
The goal of the package is to get the JSON response and decode it into an expected data type. So the expected data type now just needs to conform to Decodable
, instead of Codable(which includes both Decodable
and Encodable
).
Plain text keyword signature in header
Simple HTTP Signature
1.1.0
Concurrency convenient functions, Add @unchecked Sendable
Set Networking class as Sendable
Support Basic Auth and API Key
Error Throwing patch
1.0.5 documentation patch
Combine support
This patch includes:
- Support Combine framework use case.
- Rename the
getObjectVia(_:)
functions that need a specific generic typecasting from the JSON response. To avoid ambiguity, these functions now require aCodable
type as the parameter. for example, to receive the except value of typeSample
, we callget(Sample.self, from: request)
.