Enumeration

NWParameters.MultipathServiceType

Modes in which a connection can support multipath protocols.

Declaration

enum NWParameters.MultipathServiceType

Topics

Multipath Service Types

case disabled

Disable multipath.

case handover

Enable multipath, but only use other interfaces when the primary interface is lost.

case interactive

Enable multipath to use other interfaces when the primary interface encounters loss or delay.

case aggregate

Enable multipath to maximize bandwidth across multiple interfaces.

Instance Properties

See Also

Customizing Connection Options

var multipathServiceType: NWParameters.MultipathServiceType

An option to allow connections to use multipath protocols.

var serviceClass: NWParameters.ServiceClass

A level of service quality for connections to use.

enum NWParameters.ServiceClass

Levels of service quality that can be used with a connection.

var allowFastOpen: Bool

A Boolean that enables sending application data with protocol handshakes.

var expiredDNSBehavior: NWParameters.ExpiredDNSBehavior

A behavior that defines how expired DNS answers will be used.

enum NWParameters.ExpiredDNSBehavior

Options for configuring how expired DNS answers should be used.

var preferNoProxies: Bool

A Boolean that indicates that connections should ignore proxies when they are enabled on the system.

var includePeerToPeer: Bool

A Boolean that enables peer-to-peer link technologies for connections and listeners.

var allowLocalEndpointReuse: Bool

A Boolean that allows reusing local addresses and ports across connections.

var acceptLocalOnly: Bool

A Boolean that restricts listeners to only accepting connections from the local link.