Platforms to show: All Mac Windows Linux Cross-Platform
Back to CFProxyMBS class.
CFProxyMBS.kCFProxyTypeHTTPS as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation Network | MBS MacCF Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The proxy is a tunneling proxy as used for HTTPS.
CFProxyMBS.kCFProxyTypeKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation Network | MBS MacCF Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
value will be one of the kCFProxyType* constants listed below.
CFProxyMBS.kCFProxyTypeNone as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation Network | MBS MacCF Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
No proxy should be used; contact the origin server directly.
CFProxyMBS.kCFProxyTypeSOCKS as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation Network | MBS MacCF Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The proxy is a SOCKS proxy.
CFProxyMBS.kCFProxyUsernameKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation Network | MBS MacCF Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Value is a String. Note that this key will only be present if the username could be extracted from the information passed in. No external credential stores (like the Keychain) are consulted.
CFProxyMBS.ProxiesForAutoConfigurationScript(proxyAutoConfigurationScript as string, URL as string, byref error as CFErrorMBS) as Dictionary()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation Network | MBS MacCF Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Synchronously executes the given proxy autoconfiguration script and returns a valid proxyList and nil error upon success or a
nil proxyList and valid error on failure.
proxyAutoConfigurationScript: A string containing the code of the script to be executed.
targetURL: The URL that should be input in to the autoconfiguration script.
error: A return argument that will contain a valid error in case of failure.
Returns an array of dictionaries describing the proxies returned by the script or nil on failure.
Some examples using this method:
CFProxyMBS.ProxiesForURL(URL as string, proxySettings as Dictionary = nil) as Dictionary()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation Network | MBS MacCF Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
url: The URL to be accessed
proxySettings: A dictionary describing the available proxy settings; the dictionary's format should match the dictionary returned by SystemProxySettings described below. If you pass nil, the plugin queries SystemProxySettings functions for you.
Returns an array of dictionaries; each dictionary describes a single proxy. See the comment at the top of this file for how to interpret the returned dictionaries.
Some examples using this method:
CFProxyMBS.SystemProxySettings as Dictionary
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreFoundation Network | MBS MacCF Plugin | 14.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns a dictionary containing key-value pairs that represent the current internet proxy settings.
Value is nil if no proxy settings have been defined or if an error was encountered.
Some examples using this method:
The items on this page are in the following plugins: MBS MacCF Plugin.