Platforms to show: All Mac Windows Linux Cross-Platform
CFProxyMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreFoundation Network | MBS MacCF Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
These APIs return arrays of dictionaries, where each dictionary describes a single proxy.
The arrays represent the order in which the proxies should be tried - try to download the URL using the first entry in the array, and if that fails, try using the second entry, and so on.
The keys to the proxy dictionaries follow the function declarations; every proxy dictionary will have an entry for kCFProxyTypeKey. If the type is anything except kCFProxyTypeAutoConfigurationURL, the dictionary will also have entries for the proxy's host and port (under kCFProxyHostNameKey and kCFProxyPortNumberKey respectively). If the type is kCFProxyTypeAutoConfigurationURL, it will have an entry for kCFProxyAutoConfigurationURLKey.
The keys for username and password are optional and will only be present if the username or password could be extracted from the information passed in (i.e. either the URL itself or the proxy dictionary supplied). These APIs do not consult any external credential stores (such as the Keychain).
All the class methods require Mac OS X 10.5 or newer.
- event AutoConfigurationResult(error as CFErrorMBS, proxyList() as Dictionary)
- 2 methods
- method ExecuteProxyAutoConfigurationScript(proxyAutoConfigurationScript as string, targetURL as string) as boolean
- method ExecuteProxyAutoConfigurationURL(proxyAutoConfigURL as string, targetURL as string) as boolean
- 37 shared methods
- shared method kCFNetworkProxiesExceptionsList as string
- shared method kCFNetworkProxiesExcludeSimpleHostnames as string
- shared method kCFNetworkProxiesFTPEnable as string
- shared method kCFNetworkProxiesFTPPassive as string
- shared method kCFNetworkProxiesFTPPort as string
- shared method kCFNetworkProxiesFTPProxy as string
- shared method kCFNetworkProxiesHTTPPort as string
- shared method kCFNetworkProxiesHTTPProxy as string
- shared method kCFNetworkProxiesHTTPSEnable as string
- shared method kCFNetworkProxiesHTTPSPort as string
- shared method kCFNetworkProxiesHTTPSProxy as string
- shared method kCFNetworkProxiesProxyAutoConfigEnable as string
- shared method kCFNetworkProxiesProxyAutoConfigURLString as string
- shared method kCFNetworkProxiesProxyAutoDiscoveryEnable as string
- shared method kCFNetworkProxiesRTSPEnable as string
- shared method kCFNetworkProxiesRTSPPort as string
- shared method kCFNetworkProxiesRTSPProxy as string
- shared method kCFNetworkProxiesSOCKSEnable as string
- shared method kCFNetworkProxiesSOCKSPort as string
- shared method kCFNetworkProxiesSOCKSProxy as string
- shared method kCFProxyAutoConfigurationJavaScriptKey as string
- shared method kCFProxyAutoConfigurationURLKey as string
- shared method kCFProxyHostNameKey as string
- shared method kCFProxyPasswordKey as string
- shared method kCFProxyPortNumberKey as string
- shared method kCFProxyTypeAutoConfigurationJavaScript as string
- shared method kCFProxyTypeAutoConfigurationURL as string
- shared method kCFProxyTypeFTP as string
- shared method kCFProxyTypeHTTP as string
- shared method kCFProxyTypeHTTPS as string
- shared method kCFProxyTypeKey as string
- shared method kCFProxyTypeNone as string
- shared method kCFProxyTypeSOCKS as string
- shared method kCFProxyUsernameKey as string
- shared method ProxiesForAutoConfigurationScript(proxyAutoConfigurationScript as string, URL as string, byref error as CFErrorMBS) as Dictionary()
- shared method ProxiesForURL(URL as string, proxySettings as Dictionary = nil) as Dictionary()
- shared method SystemProxySettings as Dictionary
This class has no sub classes.
Some examples using this class:
Blog Entries
- MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 14.1
- MBS Xojo / Real Studio Plugins, version 14.1pr1
The items on this page are in the following plugins: MBS MacCF Plugin.