API Differences in NetworkExtension in macOS 15.0

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in NetworkExtension in the macOS 15.0 SDK.

Table of Contents

Protocols

NEAppProxyUDPFlowHandling

Functions & Methods

NEAppProxyFlow
public func open(withLocalFlowEndpoint localEndpoint: Network.NWEndpoint?, completionHandler: @escaping ((any Swift.Error)?) -> Swift.Void)
NEAppProxyFlow
public func open(withLocalFlowEndpoint localEndpoint: Network.NWEndpoint?) async throws
NEAppProxyFlow
public func setMetadata(on parameters: Network.NWParameters)
NEAppProxyUDPFlow
public func readDatagrams(completionHandler: @escaping ([(Foundation.Data, Network.NWEndpoint)]?, (any Swift.Error)?) -> Swift.Void)
NEAppProxyUDPFlow
public func readDatagrams() async -> ([(Foundation.Data, Network.NWEndpoint)]?, (any Swift.Error)?)
NEAppProxyUDPFlow
public func writeDatagrams(_ array: [(Foundation.Data, Network.NWEndpoint)], completionHandler: @escaping ((any Swift.Error)?) -> Swift.Void)
NEAppProxyUDPFlow
public func writeDatagrams(_ array: [(Foundation.Data, Network.NWEndpoint)]) async throws

Properties & Constants

NEAppProxyFlow
public var interface: Network.NWInterface?
NEAppProxyTCPFlow
public var remoteFlowEndpoint: Network.NWEndpoint
NEAppProxyUDPFlow
public var localFlowEndpoint: Network.NWEndpoint?
NEFilterPacketProvider
public var handler: ((NetworkExtension.NEFilterPacketContext, Network.NWInterface, NetworkExtension.NETrafficDirection, Swift.UnsafeRawBufferPointer) -> NetworkExtension.NEFilterPacketProvider.Verdict)?
NEFilterSocketFlow
public var localFlowEndpoint: Network.NWEndpoint?
NEFilterSocketFlow
public var remoteFlowEndpoint: Network.NWEndpoint?
NENetworkRule
public var matchLocalNetworkEndpoint: Network.NWEndpoint?
NENetworkRule
public var matchRemoteHostOrNetworkEndpoint: Network.NWEndpoint?
NEPacketTunnelProvider
public var virtualInterface: Network.NWInterface?

Initializers

NENetworkRule
convenience public init(destinationNetworkEndpoint networkEndpoint: Network.NWEndpoint, prefix destinationPrefix: Swift.Int, protocol: NetworkExtension.NENetworkRule.`Protocol`)
NENetworkRule
convenience public init(destinationHostEndpoint hostEndpoint: Network.NWEndpoint, protocol: NetworkExtension.NENetworkRule.`Protocol`)
NENetworkRule
convenience public init(remoteNetworkEndpoint: Network.NWEndpoint?, remotePrefix: Swift.Int, localNetworkEndpoint: Network.NWEndpoint?, localPrefix: Swift.Int, protocol: NetworkExtension.NENetworkRule.`Protocol`, direction: NetworkExtension.NETrafficDirection)