Networking v4.0.0 Release Notes
Release Date: 2017-09-27 // over 6 years ago-
๐ Xcode 9 and Swift 4 support!
๐ฅ Breaking changes
- ๐ Renamed
disableErrorLogging
toisErrorLoggingEnabled
- ๐ Changed initializer to use
URLSessionConfiguration
instead of the customConfigurationType
.
Before
let networking = Networking(baseURL: "http://httpbin.org", configurationType: .default)
After
var configuration = URLSessionConfiguration.defaultconfiguration.timeoutIntervalForRequest = TimeInterval(60) configuration.timeoutIntervalForResource = TimeInterval(6048000)let networking = Networking(baseURL: "http://httpbin.org", configuration: configuration)
- ๐ Renamed