Instance Property

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.

Declaration

var matchDomains: [String]? { get set }

Discussion

This property should be used in conjuction with a split tunnel VPN, where only certain networks are tunneled by the VPN. The domains of those split tunneling networks should be specified in this property.

See Also

Accessing General Proxy Properties

var excludeSimpleHostnames: Bool

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

var exceptionList: [String]?

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.