Instance Property

pathUpdateHandler

A handler that receives network path updates.

Declaration

final var pathUpdateHandler: ((NWPath) -> Void)? { get set }

See Also

Handling Path Updates

var currentPath: NWPath?

The network path the connection is using.

var viabilityUpdateHandler: ((Bool) -> Void)?

A handler that receives updates when data can be sent and received.

var betterPathUpdateHandler: ((Bool) -> Void)?

A handler that receives updates when an alternative network path is preferred over the current path.