<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 12.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/nw_path_monitor_t",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "c:@T@nw_path_monitor_t"
  },
  "title" : "nw_path_monitor_t"
}
-->

# nw_path_monitor_t

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

```
typealias nw_path_monitor_t = any OS_nw_path_monitor
```

## Topics

### Creating Path Monitors

[`nw_path_monitor_create()`](/documentation/Network/nw_path_monitor_create())

Initializes a path monitor to observe all available interface types.

[`nw_path_monitor_create_with_type(_:)`](/documentation/Network/nw_path_monitor_create_with_type(_:))

Initializes a path monitor to observe a specific interface type.

[`nw_path_monitor_prohibit_interface_type(_:_:)`](/documentation/Network/nw_path_monitor_prohibit_interface_type(_:_:))

Prohibit a path monitor from using a specific interface type.

[`nw_path_monitor_set_queue(_:_:)`](/documentation/Network/nw_path_monitor_set_queue(_:_:))

Sets a queue on which to deliver path events.

[`nw_path_monitor_start(_:)`](/documentation/Network/nw_path_monitor_start(_:))

Starts monitoring path changes.

### Handling Path Updates

[`nw_path_monitor_set_update_handler(_:_:)`](/documentation/Network/nw_path_monitor_set_update_handler(_:_:))

Sets a handler to receive network path updates.

[`nw_path_monitor_update_handler_t`](/documentation/Network/nw_path_monitor_update_handler_t)

A handler that delivers network path updates.

### Canceling Path Monitors

[`nw_path_monitor_cancel(_:)`](/documentation/Network/nw_path_monitor_cancel(_:))

Stops receiving network path updates.

[`nw_path_monitor_set_cancel_handler(_:_:)`](/documentation/Network/nw_path_monitor_set_cancel_handler(_:_:))

Sets a handler to determine when a monitor is fully cancelled and will no longer deliver events.

[`nw_path_monitor_cancel_handler_t`](/documentation/Network/nw_path_monitor_cancel_handler_t)

A handler that indicates when a monitor has been cancelled.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)