CFProxyMBS methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem