Type Method

loadAllFromPreferences(completionHandler:)

Loads all previously-saved transparent proxy configurations.

Declaration

class func loadAllFromPreferences(completionHandler: @escaping ([NETransparentProxyManager]?, Error?) -> Void)

Parameters

completionHandler

A closure that receives as parameters an array of transparent proxy manager instances loaded from disk and an error. If the error is nil, no error occurred.

Discussion

This method asychronously reads all previously-saved transparent proxy configurations associated with the calling app.