Instance Method


Checks if connections using the path may send traffic over a specific interface type.


func usesInterfaceType(_ type: NWInterface.InterfaceType) -> Bool


Paths can use interface types by directly routing over an interface, routing through a tunnel that goes over a physical interface, or being eligble to use multiple interfaces directly.

See Also

Inspecting Interfaces

let availableInterfaces: [NWInterface]

A list of all interfaces available to the path, in order of preference.

var gateways: [NWEndpoint]

A list of gateways configured on the interfaces available to a path.