Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CFProxyMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class CoreFoundation Network MBS MacCF Plugin 14.1 Yes No No Yes, macOS only No
Function: The class for proxy queries.
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.

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:

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

CFPreferencesMBS   -   CFRangeMBS

MBS FileMaker tutorial videos