We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9be861 commit 62661c9Copy full SHA for 62661c9
1 file changed
Sources/NetworkConnectivityKit/NetworkConnectivityKit.swift
@@ -49,7 +49,7 @@ public extension NetworkConnectivityKit {
49
/// Test connectivity using a single method.
50
/// - Parameter method: ConnectivityMethod. Default is `appleCaptive`.
51
/// - Returns: `true` if the method succeeds, `false` otherwise.
52
- static func checkConnectivity(using method: ConnectivityMethod = .appleCaptive) async -> Bool {
+ static func checkConnectivity(using method: ConnectivityMethod) async -> Bool {
53
let success = await method.performRequest()
54
return success
55
}
0 commit comments