aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2024-07-28 15:03:26 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2024-07-28 15:03:26 -0600
commit378fdd66231509cb3690e09950c11f07292af20a (patch)
tree3c4c044f62d5aed33651f485a9dc575c8ba29794
parent06649f47a8b1d65590ee8a8f78668d064e92f56b (diff)
specify watchOS, tvOS, and visionOS versions1.1.8
-rw-r--r--Sources/SwiftGopherClient/gopherClient.swift3
1 files changed, 1 insertions, 2 deletions
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]
{