Global Proxy Settings Constants

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

Topics

Constants

kCFNetworkProxiesExceptionsList

Value is a CFArray of CFString objects indicating host name patterns that should bypass the proxy.

kCFNetworkProxiesExcludeSimpleHostnames

Value is a CFNumber object indicating whether simple host names are excluded. Simple host names are excluded if the key is present and the associated value is nonzero.

kCFNetworkProxiesFTPEnable

Value is a CFNumber object indicating whether an FTP proxy is enabled. The proxy is enabled if the key is present and the associated value is nonzero.

kCFNetworkProxiesFTPPassive

Value is a CFNumber object indicating whether an FTP proxy’s passive mode is enabled. The passive mode is enabled if the key is present and the associated value is nonzero.

kCFNetworkProxiesFTPPort

Value is a CFNumber object indicating the port number of an FTP proxy.

kCFNetworkProxiesFTPProxy

Value is a CFString object indicating the host name or IP number of an FTP proxy.

kCFNetworkProxiesGopherEnable

Value is a CFNumber object indicating whether a gopher proxy is enabled. The proxy is enabled if the key is present and the associated value is nonzero.

kCFNetworkProxiesGopherPort

Value is a CFNumber indicating the port number of a gopher proxy.

kCFNetworkProxiesGopherProxy

Value is a CFString object indicating the host name or IP number of a gopher proxy.

kCFNetworkProxiesHTTPEnable

Value is a CFNumber object indicating whether an HTTP proxy is enabled. The proxy is enabled if the key is present and the associated value is nonzero.

kCFNetworkProxiesHTTPPort

Value is a CFNumber object containing the port number associated with the HTTP proxy.

kCFNetworkProxiesHTTPProxy

Value is a CFString object containing the HTTP proxy host name or IP number.

kCFNetworkProxiesHTTPSEnable

Value is a CFNumber object indicating whether an HTTPS proxy is enabled. The proxy is enabled if the key is present and the associated value is nonzero.

kCFNetworkProxiesHTTPSPort

Value is a CFNumber object containing the port number associated with the HTTPS proxy.

kCFNetworkProxiesHTTPSProxy

Value is a CFString object containing the HTTPS proxy host name or IP number.

kCFNetworkProxiesRTSPEnable

Value is a CFNumber object indicating whether an RTSP proxy is enabled. The proxy is enabled if the key is present and the associated value is nonzero.

kCFNetworkProxiesRTSPPort

Value is a CFNumber object containing the port number associated with the RTSP proxy.

kCFNetworkProxiesRTSPProxy

Value is a CFString object containing the RTSP proxy host name or IP number.

kCFNetworkProxiesSOCKSEnable

Value is a CFNumber object indicating whether a SOCKS proxy is enabled. The proxy is enabled if the key is present and the associated value is nonzero.

kCFNetworkProxiesSOCKSPort

Value is a CFNumber object containing the port number associated with the SOCKS proxy.

kCFNetworkProxiesSOCKSProxy

Value is a CFString object containing the SOCKS proxy host name or IP number.

kCFNetworkProxiesProxyAutoConfigEnable

Value is a CFNumber object indicating whether proxy autoconfiguration is enabled. Proxy autoconfiguration is enabled if the key is present and the associated value is nonzero.

kCFNetworkProxiesProxyAutoConfigJavaScript

Value is a CFString object that contains the full JavaScript source of the ProxyAutoConfig (PAC) file.

kCFNetworkProxiesProxyAutoConfigURLString

Value is a CFString object that contains the URL of the proxy autoconfiguration (PAC) file.

kCFNetworkProxiesProxyAutoDiscoveryEnable

Value is a CFNumber object indicating whether proxy autodiscovery is enabled. Proxy autodiscovery is enabled if the key is present and the associated value is nonzero.

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.

Proxy Types

Constants that specify the type of proxy.