---
title: NWPathMonitor
framework: network
role: symbol
role_heading: Class
path: network/nwpathmonitor
---

# NWPathMonitor

An observer that you use to monitor and react to network changes.

## Declaration

```swift
final class NWPathMonitor
```

## Topics

### Creating Path Monitors

- [init()](network/nwpathmonitor/init().md)
- [init(requiredInterfaceType:)](network/nwpathmonitor/init(requiredinterfacetype:).md)
- [init(prohibitedInterfaceTypes:)](network/nwpathmonitor/init(prohibitedinterfacetypes:).md)
- [start(queue:)](network/nwpathmonitor/start(queue:).md)
- [queue](network/nwpathmonitor/queue.md)

### Handling Path Updates

- [currentPath](network/nwpathmonitor/currentpath.md)
- [pathUpdateHandler](network/nwpathmonitor/pathupdatehandler.md)

### Canceling Path Monitors

- [cancel()](network/nwpathmonitor/cancel().md)

### Structures

- [NWPathMonitor.Iterator](network/nwpathmonitor/iterator.md)

### Type Properties

- [ethernetChannel](network/nwpathmonitor/ethernetchannel.md)

## Relationships

### Conforms To

- [AsyncSequence](swift/asyncsequence.md)
- [Copyable](swift/copyable.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [Escapable](swift/escapable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Paths and Interfaces

- [NWPath](network/nwpath.md)
- [NWInterface](network/nwinterface.md)
