Class

NEProxyServer

NEProxyServer contains settings for a proxy server.

Declaration

class NEProxyServer : NSObject

Overview

NEProxyServer instances are used inside of NEProxySettings instances to configure proxy settings for VPN connections.

Topics

Initializing a Proxy Server

init(address: String, port: Int)

Initialize a newly-allocated NEProxyServer object

Accessing Proxy Server Properties

var address: String

The address of the proxy server.

var port: Int

The TCP port on which the proxy server is listening for connections.

var authenticationRequired: Bool

A Boolean indicating if the server requires authentication credentials.

var username: String?

The username portion of the authentication credential to be used to authenticate with the proxy server.

var password: String?

The password portion of the authentication credential to be used to authenticate with the proxy server.

Relationships

Inherits From

See Also

Accessing Manual Proxy Properties

var httpEnabled: Bool

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

var httpServer: NEProxyServer?

An NEProxyServer object containing the static HTTP proxy server settings.

var httpsEnabled: Bool

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

var httpsServer: NEProxyServer?

An NEProxyServer object containing the static HTTPS proxy server settings.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software