Instance Property

matchProtocol

The protocol that the rule matches.

Declaration

var matchProtocol: NENetworkRule.`Protocol` { 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.

enum NENetworkRule.Protocol

A type to represent network protocols used by routing rules.

var matchDirection: NETrafficDirection

The direction of network traffic that the rule matches.

enum NETrafficDirection

A type to represent the direction of network traffic.