mirror of
https://github.com/apple/swift-http-types
synced 2026-11-26 04:57:48 +00:00
remove #if for old platform
This commit is contained in:
1 parent
123410433b
commit
03eab5b69c
1 file changed
-4
@@ -133,10 +133,6 @@ extension URLSession {
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || os(visionOS) || compiler(>=6)
|
||||
|
||||
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
|
||||
extension URLSession {
|
||||
/// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
|
||||
|
||||
Reference in new issue
Block a user