Proxy Types

Constants that specify the type of proxy.

Topics

Constants

kCFProxyTypeNone

Specifies that no proxy should be used.

kCFProxyTypeAutoConfigurationURL

Specifies that the proxy is determined by an autoconfiguration file at a given URL.

kCFProxyTypeAutoConfigurationJavaScript

Specifies that the proxy is determined by a provided autoconfiguration script.

kCFProxyTypeFTP

Specifies an FTP proxy.

kCFProxyTypeHTTP

Specifies an HTTP proxy.

kCFProxyTypeHTTPS

Specifies an HTTPS proxy.

kCFProxyTypeSOCKS

Specifies a SOCKS proxy.

See Also

Global Proxy Configuration

CFNetworkCopyProxiesForURL

Returns the list of proxies that should be used to download a given URL.

CFNetworkCopyProxiesForAutoConfigurationScript

Executes a proxy autoconfiguration script to determine the best proxy to use to retrieve a specified URL.

CFNetworkExecuteProxyAutoConfigurationScript

Downloads a proxy autoconfiguration script and executes it.

CFNetworkExecuteProxyAutoConfigurationURL

Downloads a proxy autoconfiguration script and executes it.

CFNetworkCopySystemProxySettings

Returns a CFDictionary containing the current systemwide internet proxy settings.

CFProxyAutoConfigurationResultCallback

Callback function called when a proxy autoconfiguration computation has completed.

Property Keys

Keys for calls to property get/set functions such as CFReadStreamSetProperty and CFReadStreamCopyProperty.

Global Proxy Settings Constants

Constants for keys in the global proxy settings dictionary returned by CFNetworkCopySystemProxySettings.