Instance Property

matchDirection

The direction of network traffic that the rule matches.

Declaration

var matchDirection: NETrafficDirection { get }

See Also

Matching Network Traffic Characteristics

var matchRemoteEndpoint: NWHostEndpoint?

The remote endpoint that the rule matches.

var matchRemotePrefix: Int

A number that specifies the remote sub-network that the rule matches.

var matchLocalNetwork: NWHostEndpoint?

The local network that the rule matches.

var matchLocalPrefix: Int

A number that specifies the local sub-network that the rule matches.

var matchProtocol: NENetworkRule.`Protocol`

The protocol that the rule matches.

enum NENetworkRule.Protocol

A type to represent network protocols used by routing rules.

enum NETrafficDirection

A type to represent the direction of network traffic.