diff --git a/AppleLibs/Network/Requests/DataManager.swift b/AppleLibs/Network/Requests/DataManager.swift index 437a1b6a92989c1626ef90effe00f0e6049ad218..aa88da801d8941b63344a310e6150f1a5bfab35b 100644 --- a/AppleLibs/Network/Requests/DataManager.swift +++ b/AppleLibs/Network/Requests/DataManager.swift @@ -11,13 +11,13 @@ import os.log public protocol HttpResponseFilter { - @available(iOS 13.0.0, *) + @available(iOS 15.0.0, *) func handleResponse(request: Request, data: Data?, dataMapper: DataMapper?, sender: Any?) async throws -> Any? } public protocol HttpSuccessFilter { - @available(iOS 13.0.0, *) + @available(iOS 15.0.0, *) func handleResponse(data: Data?, response: HTTPURLResponse, dataMapper: DataMapper?, sender: Any?) async throws -> Any? } @@ -88,7 +88,7 @@ public class DataManager: NSObject, URLSessionDelegate return url } - @available(iOS 13.0, *) + @available(iOS 15.0, *) @available(macCatalyst 15.0.0, *) @discardableResult public func request(request r: Request, dataMapper: DataMapper? = nil, sender: Any? = nil) async throws -> Any? { diff --git a/AppleLibs/Network/Requests/DataMapper.swift b/AppleLibs/Network/Requests/DataMapper.swift index 749ac99bf0aaf82292ee701134898771cac37156..220d2b6869131894d091202f55a4a5569eb76569 100644 --- a/AppleLibs/Network/Requests/DataMapper.swift +++ b/AppleLibs/Network/Requests/DataMapper.swift @@ -10,6 +10,6 @@ import Foundation public protocol DataMapper { - @available(iOS 13.0.0, *) + @available(iOS 15.0.0, *) func mapData(data: Data?, response: URLResponse?, sender: Any?) async throws -> Any? }