CFProxyAutoConfigurationResultCallback
Callback function called when a proxy autoconfiguration computation has completed.
Declaration
typealias CFProxyAutoConfigurationResultCallback = (UnsafeMutableRawPointer, CFArray, CFError?) -> VoidParameters
- client:
The client reference originally passed in the
clientContextparameter of theCFNetworkExecuteProxyAutoConfigurationScriptorCFNetworkExecuteProxyAutoConfigurationURLcall that triggered this callback. - proxyList:
The list of proxies returned by the autoconfiguration script. This list is in a format suitable for passing to
CFProxyCopyProxiesForURL(with the added guarantee that no entries will ever be autoconfiguration URL entries). If an error occurs, this value will beNULL. - error:
An error object that indicates any error that may have occurred. If no error occurred, this value will be NULL.