remove #if for bytes function

This commit is contained in:
zunda committed 2024-07-16 11:30:17 +09:00
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.