Instance Method

handleNewFlow:

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

Declaration

- (NEFilterNewFlowVerdict *)handleNewFlow:(NEFilterFlow *)flow;

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

- handleInboundDataFromFlow:readBytesStartOffset:readBytes:

Make a filtering decision about a chunk of inbound data.

- handleOutboundDataFromFlow:readBytesStartOffset:readBytes:

Make a filtering decision about a chunk of outbound data.

- handleInboundDataCompleteForFlow:

Make a filtering decision after seeing all of the inbound data for a flow.

- handleOutboundDataCompleteForFlow:

Make a filtering decision after seeing all of the outbound data for a flow.