enumerateHierarchy
TypeScriptget enumerateHierarchy(): booleanSwift declarationvar enumerateHierarchy: BoolA Boolean value that indicates whether the parser walks the path hierarchy for matching.
struct · iOS 27.0+ · SDK 27.1
struct PathOptionsA type that represents options for parsing the URL path component.
get enumerateHierarchy(): booleanSwift declarationvar enumerateHierarchy: BoolA Boolean value that indicates whether the parser walks the path hierarchy for matching.
set enumerateHierarchy(value: boolean)Swift declarationvar enumerateHierarchy: BoolA Boolean value that indicates whether the parser walks the path hierarchy for matching.
static init(excluded?: boolean, segments?: number, enumerateHierarchy?: boolean): NEURLFilterManager_ParsingConfiguration_PathOptionsSwift declarationinit(excluded: Bool = false, segments: UInt = 0, enumerateHierarchy: Bool = true)Creates a new path options configuration with default values. The path options default behavior is as follows: * Parsing includes the path. * Parsing preserves all path segments. * Parsing enables path hierarchy enumeration.
get excluded(): booleanSwift declarationvar excluded: BoolA Boolean value that indicates whether to exlude the path component from URL parsing. When this value is `true`, parsing ignores all other path options.
set excluded(value: boolean)Swift declarationvar excluded: BoolA Boolean value that indicates whether to exlude the path component from URL parsing. When this value is `true`, parsing ignores all other path options.
get segments(): numberSwift declarationvar segments: UIntThe number of path levels to preserve when parsing. With a path of `/a/b/c/d`, setting `segments` to `2` keeps `/a/b`. Use a value of `0` to keep all path segments.
set segments(value: number)Swift declarationvar segments: UIntThe number of path levels to preserve when parsing. With a path of `/a/b/c/d`, setting `segments` to `2` keeps `/a/b`. Use a value of `0` to keep all path segments.
No declarations were skipped in this snapshot.