Contents

expensivePathsProhibited(_:)

Prohibit using expensive paths.

Declaration

func expensivePathsProhibited(_ prohibited: Bool) -> Self

Parameters

  • prohibited:

    True if expensive paths are prohibited, false otherwise.

Discussion

Prohibit connections and listeners from using a network interface that is considered expensive by the system, for example some cellular interfaces.