NetworkExtension Changes for Swift
NetworkExtension (Added)
Added NEAppProxyFlow
Added NEAppProxyFlow.metaData
Added NEAppProxyFlow.openWithLocalEndpoint(_: NWHostEndpoint?, completionHandler: (NSError?) -> Void)
Added NEAppProxyProvider
Added NEAppProxyProvider.stopProxyWithReason(_: NEProviderStopReason, completionHandler: () -> Void)
Added NEAppProxyTCPFlow
Added NEAppProxyUDPFlow
Added NEAppRule
Added NEAppRule.matchDomains
Added NEAppRule.matchPath
Added NEDNSSettings
Added NEDNSSettings.domainName
Added NEDNSSettings.servers
Added NEEvaluateConnectionRule
Added NEEvaluateConnectionRule.init(matchDomains: [String], andAction: NEEvaluateConnectionRuleAction)
Added NEFilterManager
Added NEFilterManager.enabled
Added NEFlowMetaData
Added NEIPv4Route
Added NEIPv4Settings
Added NEIPv4Settings.addresses
Added NEIPv6Route
Added NEIPv6Settings
Added NEIPv6Settings.addresses
Added NEOnDemandRule
Added NEOnDemandRule.action
Added NEOnDemandRule.probeURL
Added NEOnDemandRule.SSIDMatch
Added NEOnDemandRuleConnect
Added NEOnDemandRuleDisconnect
Added NEOnDemandRuleIgnore
Added NEPacketTunnelFlow
Added NEPacketTunnelProvider
Added NEPacketTunnelProvider.stopTunnelWithReason(_: NEProviderStopReason, completionHandler: () -> Void)
Added NEProvider
Added NEProvider.createUDPSessionToEndpoint(_: NWEndpoint, fromEndpoint: NWHostEndpoint?) -> NWUDPSession
Added NEProvider.defaultPath
Added NEProvider.wake()
Added NEProxyServer
Added NEProxyServer.address
Added NEProxyServer.password
Added NEProxyServer.port
Added NEProxyServer.username
Added NEProxySettings
Added NETunnelNetworkSettings
Added NETunnelProvider
Added NETunnelProviderManager
Added NETunnelProviderProtocol
Added NETunnelProviderSession
Added NETunnelProviderSession.sendProviderMessage(_: NSData, responseHandler: ((NSData?) -> Void)?) throws
Added NEVPNConnection
Added NEVPNConnection.status
Added NEVPNError [enum]
Added NEVPNIKEv2DiffieHellmanGroup.Group0
Added NEVPNManager
Added NEVPNManager.connection
Added NEVPNManager.enabled
Added NEVPNManager.protocol
Added NEVPNProtocol
Added NEVPNProtocol.username
Added NEVPNProtocolIKEv2
Added NEVPNProtocolIPSec
Added NEVPNStatus [enum]
Added NEVPNStatus.Connected
Added NEVPNStatus.Connecting
Added NEVPNStatus.Disconnected
Added NEVPNStatus.Invalid
Added NEVPNStatus.Reasserting
Added NWBonjourServiceEndpoint
Added NWEndpoint
Added NWHostEndpoint
Added NWHostEndpoint.hostname
Added NWHostEndpoint.port
Added NWPath
Added NWPath.expensive
Added NWPath.status
Added NWPathStatus [enum]
Added NWPathStatus.Invalid
Added NWPathStatus.Satisfiable
Added NWPathStatus.Satisfied
Added NWPathStatus.Unsatisfied
Added NWTCPConnection
Added NWTCPConnection.cancel()
Added NWTCPConnection.endpoint
Added NWTCPConnection.error
Added NWTCPConnection.state
Added NWTCPConnection.viable
Added NWTCPConnectionAuthenticationDelegate.shouldEvaluateTrustForConnection(_: NWTCPConnection) -> Bool
Added NWTCPConnectionAuthenticationDelegate.shouldProvideIdentityForConnection(_: NWTCPConnection) -> Bool
Added NWTLSParameters
Added NWUDPSession
Added NWUDPSession.cancel()
Added NWUDPSession.currentPath
Added NWUDPSession.endpoint
Added NWUDPSession.state
Added NWUDPSession.viable
Added NWUDPSessionState [enum]
Added NWUDPSessionState.Failed
Added NWUDPSessionState.Ready
Added NEAppProxyErrorDomain
Added NEFilterErrorDomain
Added NEFilterFlowBytesMax
Added NEVPNErrorDomain