<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEURLFilterManager/ParsingConfiguration/PathOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "s:16NetworkExtension18NEURLFilterManagerC20ParsingConfigurationV11PathOptionsV"
  },
  "title" : "NEURLFilterManager.ParsingConfiguration.PathOptions"
}
-->

# NEURLFilterManager.ParsingConfiguration.PathOptions

A type that represents options for parsing the URL path component.

```
struct PathOptions
```

## Topics

### Creating a path options instance

[`init(excluded: Bool, segments: UInt, enumerateHierarchy: Bool)`](/documentation/NetworkExtension/NEURLFilterManager/ParsingConfiguration/PathOptions/init(excluded:segments:enumerateHierarchy:))

Creates a new path options configuration with default values.

### Working with path options

[`var excluded: Bool`](/documentation/NetworkExtension/NEURLFilterManager/ParsingConfiguration/PathOptions/excluded)

A Boolean value that indicates whether to exlude the path component from URL parsing.

[`var segments: UInt`](/documentation/NetworkExtension/NEURLFilterManager/ParsingConfiguration/PathOptions/segments)

The number of path levels to preserve when parsing.

[`var enumerateHierarchy: Bool`](/documentation/NetworkExtension/NEURLFilterManager/ParsingConfiguration/PathOptions/enumerateHierarchy)

A Boolean value that indicates whether the parser walks the path hierarchy for matching.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)