Class

NEProxySettings

NEProxySettings contains HTTP proxy settings.

Declaration

@interface NEProxySettings : NSObject

Overview

NEProxySettings is used in the context of a VPN configuration to specify the proxy that should be used for network traffic when the VPN is active.

Instances of this class are thread safe.

Topics

Accessing Automatic Proxy Properties

autoProxyConfigurationEnabled

A Boolean indicating if proxy auto-configuration is enabled.

proxyAutoConfigurationURL

A URL specifying the location from where the Proxy Auto Configuration (PAC) script should be downloaded.

proxyAutoConfigurationJavaScript

A string containing the Proxy Auto Configuration (PAC) JavaScript source code.

Accessing Manual Proxy Properties

HTTPEnabled

A Boolean indicating if a static HTTP proxy will be used.

HTTPServer

An NEProxyServer object containing the static HTTP proxy server settings.

HTTPSEnabled

A Boolean indicating if a static HTTPS proxy will be used.

HTTPSServer

An NEProxyServer object containing the static HTTPS proxy server settings.

NEProxyServer

NEProxyServer contains settings for a proxy server.

Accessing General Proxy Properties

excludeSimpleHostnames

A Boolean indicating if HTTP requests using single-label host names should be excluded from using the proxy settings.

exceptionList

An array of domain name patterns. If the destination host name of an HTTP connection matches one of these patterns then the proxy settings will not be used for the connection.

matchDomains

An array of domain strings. If the destination host name of a HTTP connection shares a suffix with one of these strings then the proxy settings will be used for the HTTP connection. Otherwise the proxy settings will not be used.

Relationships

Inherits From

See Also

Accessing Tunnel Network Settings

tunnelRemoteAddress

The IP address of the tunnel server

DNSSettings

The tunnel DNS settings.

NEDNSSettings

The DNS resolver settings of a network tunnel.

proxySettings

The tunnel HTTP proxy settings.