mirror of
https://github.com/apple/swift-http-types
synced 2026-11-25 04:47:48 +00:00
remove #if for bytes function
This commit is contained in:
1 parent
052257dbd2
commit
4b41fd0a3a
1 file changed
-7
@@ -113,14 +113,7 @@ extension URLSession {
|
||||
}
|
||||
return (location, response)
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || os(visionOS)
|
||||
|
||||
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
|
||||
extension URLSession {
|
||||
/// Returns a byte stream that conforms to AsyncSequence protocol.
|
||||
///
|
||||
/// - Parameter request: The `HTTPRequest` for which to load data.
|
||||
|
||||
Reference in new issue
Block a user