Reachability
open class Reachability
Adds Reachability supportt
-
Reachability initializer.
Declaration
Swift
public init(hostname: String? = nil)Parameters
hostnameThe name of the desired host.
-
Starts monitoring network state updates.
Declaration
Swift
public func monitorState(_ closure: ReachabilityUpdateClosureType?) throwsParameters
closureType for reachability monitoring updates
-
Stops monitoring network state updates.
Declaration
Swift
open func stopMonitoring()
View on GitHub
Install in Dash
Reachability Class Reference