Class

NEFilterRule

A rule for filters that combines a rule to match network traffic and an action to take when the rule matches.

Declaration

@interface NEFilterRule : NSObject

Topics

Creating a Filter Rule

- initWithNetworkRule:action:

Creates a new filter rule from a network rule and an action to take when network traffic matches.

Inspecting Filter Rule Properties

networkRule

The network rule that defines the network traffic characteristics that this filter rule matches.

action

The action to take when this rule matches network traffic.

Relationships

Inherits From

See Also

Creating Filter Settings

- initWithRules:defaultAction:

Creates a new settings instance from an array of rules and a default action.