Releases: kean/Get
Releases · kean/Get
Get 0.8.0
Get 0.7.1
Get 0.7.0
Get 0.6.0
- Add
URLRequest
parameter toshouldClientRetry(_:request:withError:)
inAPIClientDelegate
- #23, thanks to Pavel Krusek - Add Linux support - #20, thanks to Mathieu Barnachon
Get 0.5.0
Get 0.4.0
Get 0.3.1
Get 0.3.0
Get 0.2.1
Get 0.2.0
- It now supports iOS 13, macOS 10, watchOS 6, and tvOS 13
- Make
willSend
async - #11, thanks to Lars-Jørgen Kristiansen - Add a more convenient way to initialize
APIClient
(same asImagePipeline
in Nuke):
let client = APIClient(host: "api.github.com") {
$0.delegate = MyClientDelegate()
$0.sessionConfiguration.httpAdditionalHeaders = ["apiKey": "easilyExtractableSecretKey"]
}
- You can now provide a session delegate (
URLSessionDelegate
) when instantiating a client for monitoring URLSession events – the client will continue doing its thing - Add metrics (
URLSessionTaskMetrics
) toResponse
- Add public
Response
initializer and make properties writable