From 378fdd66231509cb3690e09950c11f07292af20a Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 28 Jul 2024 15:03:26 -0600 Subject: specify watchOS, tvOS, and visionOS versions --- Sources/SwiftGopherClient/gopherClient.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Sources/SwiftGopherClient') diff --git a/Sources/SwiftGopherClient/gopherClient.swift b/Sources/SwiftGopherClient/gopherClient.swift index 3fd61ec..4ac74bb 100644 --- a/Sources/SwiftGopherClient/gopherClient.swift +++ b/Sources/SwiftGopherClient/gopherClient.swift @@ -86,8 +86,7 @@ public class GopherClient { /// - Returns: An array of `gopherItem` representing the server's response. /// /// - Throws: An error if the connection fails or the server returns an invalid response. - @available(iOS 13.0, *) - @available(macOS 10.15, *) + @available(macOS 10.15, iOS 13.0, tvOS 12.0, watchOS 6.0, visionOS 1.0, * ) public func sendRequest(to host: String, port: Int = 70, message: String) async throws -> [gopherItem] { -- cgit v1.2.3