Contents

usesInterfaceType(_:)

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

Declaration

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

Discussion

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