Contents

NEProvider

An abstract base class for all NetworkExtension providers.

Declaration

class NEProvider

Overview

See the documentation for the NEProvider subclasses for details about how to create Network Extension Provider extensions.

The 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 handleNewFlow: method in NEFilterDataProvider allows Filter Data Provider extensions to make pass/block decisions on TCP connections as the connections are established on the system.

Subclassing Notes

The NEProvider class should not be subclassed directly. Instead, you should create subclasses of NEProvider subclasses (and in some cases subsubclasses).

Methods to Override

Topics

Handling sleep and wake

Creating network connections

Monitoring the network state

Supporting system extensions

Constants

Displaying messages

See Also

App proxy provider