An abstract base class for all NetworkExtension providers.
- iOS 9.0+
- macOS 10.11+
See the documentation for the
NEProvider subclasses for details about how to create Network Extension Provider extensions.
NEProvider class and its subclasses expose methods and properties that allow Network Extension Provider extensions to participate in and affect the network data path on iOS and macOS. For example, the
handle method in
NEFilter allows Filter Data Provider extensions to make pass/block decisions on TCP connections as the connections are established on the system.
NEProvider class should not be subclassed directly. Instead, you should create subclasses of
NEProvider subclasses (and in some cases subsubclasses).