handleNewFlow(_:)
Make a filtering decision for a newly-created flow of network content.
Declaration
func handleNewFlow(_ flow: NEFilterFlow) -> NEFilterNewFlowVerdictParameters
- 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.