commit c3cf6ba8c8d2b14db241a68ddd8a7bfd81203fc1
parent 870fef1b7dfa13c8f01d88c3457e0b54a95afd70
Author: FIGBERT <figbert@figbert.com>
Date: Sat, 3 Sep 2022 13:38:57 -0700
Add empty public initializer
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/Sources/SwiftGemini/SwiftGemini.swift b/Sources/SwiftGemini/SwiftGemini.swift
@@ -9,6 +9,8 @@ public class GeminiRequestor {
case invalidResponseHeader
}
+ public init() {}
+
public func request(url: URL) async throws -> GeminiResponse {
let response: GeminiResponse = try await withCheckedThrowingContinuation({ continuation in
requestWithCompletion(url: url, completion: { result in