Contents

handleNewFlow(_:)

Make a filtering decision for a newly-created flow of network content.

Declaration

func handleNewFlow(_ flow: NEFilterFlow) -> NEFilterNewFlowVerdict

Parameters

  • flow:

    An Nefilterflow object containing information about the new flow.

Return Value

An NEFilterNewFlowVerdict object indicating how the system should handle the flow.

Discussion

This function is called by the system when a filtering decision needs to be made about a new flow of network content.

NEFilterDataProvider subclasses must override this method.

See Also

Filtering network content