Contents

handleOutboundData(from:readBytesStartOffset:readBytes:)

Make a filtering decision about a chunk of outbound data.

Declaration

func handleOutboundData(from flow: NEFilterFlow, readBytesStartOffset offset: Int, readBytes: Data) -> NEFilterDataVerdict

Parameters

  • flow:

    An Nefilterflow object containing information about the flow.

  • offset:

    An unsigned integer containing the offset of the data stored in readBytes. This offset is measured from the beginning of the flow’s outbound data.

  • readBytes:

    An Nsdata object containing the data to be filtered.

Return Value

An NEFilterDataVerdict indicating how the system should handle the chunk of data and all subsequent outbound data for the flow.

Discussion

NEFilterDataProvider subclasses must override this method.

See Also

Filtering network content