Platforms to show: All Mac Windows Linux Cross-Platform

Back to CFProxyMBS class.

CFProxyMBS.ExecuteProxyAutoConfigurationScript(proxyAutoConfigurationScript as string, targetURL as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation Network MBS MacCF Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Begins the process of executing proxyAutoConfigurationScript to determine the correct proxy to use to retrieve targetURL.

When the results are found, the event will be called on the main thread, passing 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 passed to the autoconfiguration script.

Returns true if the request was started.

Some examples using this method:

CFProxyMBS.ExecuteProxyAutoConfigurationURL(proxyAutoConfigURL as string, targetURL as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation Network MBS MacCF Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Executes the proxy auto configuration URL and returns which proxy to use.

As ExecuteProxyAutoConfigurationScript(), except that ExecuteProxyAutoConfigurationURL will additionally download the contents of proxyAutoConfigURL, convert it to a JavaScript string, and then execute that script.

Some examples using this method:

The items on this page are in the following plugins: MBS MacCF Plugin.


The biggest plugin in space...