One Logo Pool Ball
NetworkExtension · IOS API REFERENCE

NEURLFilterManager.ParsingConfiguration

struct · iOS 27.0+ · SDK 27.1

struct ParsingConfiguration

A type to configure the filter's parser behavior. Use this property to control which URL components to exclude, and to customize parsing behavior during sub-URL enumeration. By default, filtering is case-insensitive and includes all components except the scheme and the `www` subdomain. The filter enumerates all possible sub-URL combinations by walking up both the domain hierarchy and path hierarchy, including intermediate results. For example, given a domain of `a.b.c.com`, walking the domain hierarchy includes `a.b.c.com`, `b.c.com` and `c.com`. For a path of `/a/b/c`, walking the path hierarchy includes `/a`, `/a/b`, and `/a/b/c`. This also allows for intermediate pattern combinations. For example, `example.com/a/b/c?id=123` includes `example.com`, `example.com/a`, `example.com/a/b`, `example.com/a/b/c`, and `example.com/a/b/c?id=123`.

Members (15)

get · iOS 27.0+

caseSensitive

TypeScript
get caseSensitive(): boolean
Swift declaration
var caseSensitive: Bool

A Boolean value that indicates whether parsing should be case-sensitive.

set · iOS 27.0+

caseSensitive

TypeScript
set caseSensitive(value: boolean)
Swift declaration
var caseSensitive: Bool

A Boolean value that indicates whether parsing should be case-sensitive.

init · iOS 27.0+

init

TypeScript
static init(excludeScheme?: boolean, domain?: NEURLFilterManager_ParsingConfiguration_DomainOptions, path?: NEURLFilterManager_ParsingConfiguration_PathOptions, query?: NEURLFilterManager_ParsingConfiguration_QueryOptions, excludeFragment?: boolean, excludeIntermediates?: boolean, caseSensitive?: boolean): NEURLFilterManager_ParsingConfiguration
Swift declaration
init(excludeScheme: Bool = true, domain: NEURLFilterManager.ParsingConfiguration.DomainOptions = DomainOptions(), path: NEURLFilterManager.ParsingConfiguration.PathOptions = PathOptions(), query: NEURLFilterManager.ParsingConfiguration.QueryOptions = QueryOptions(), excludeFragment: Bool = false, excludeIntermediates: Bool = false, caseSensitive: Bool = false)

Creates a new parsing configuration with the default values. The configuration's default behavior is as follows: * Parsing includes domain, path, query and fragment, and excludes scheme and the `www` subdomain. * Parsing is case-insensitive. * Parsing enumerates all possible sub-URL combinations. - Parameters: - excludeScheme: A Boolean value that indicates whether parsing should exclude the URL scheme. Defaults to `true`. - domain: Parsing options for the URL domain component. - path: Parsing options for the URL path component. - query: Parsing options for the URL query component. - excludeFragment: A Boolean value that indicates whether parsing should exclude the URL fragment. Defaults to `false`. - excludeIntermediates: A Boolean value that indicates whether parsing should exclude intermediate pattern combinations. Defaults to `false`. - caseSensitive: A Boolean value that indicates whether parsing should be case-sensitive. Defaults to `false`.

get · iOS 27.0+

excludeScheme

TypeScript
get excludeScheme(): boolean
Swift declaration
var excludeScheme: Bool

A Boolean value that indicates whether parsing should exclude the URL scheme.

set · iOS 27.0+

excludeScheme

TypeScript
set excludeScheme(value: boolean)
Swift declaration
var excludeScheme: Bool

A Boolean value that indicates whether parsing should exclude the URL scheme.

get · iOS 27.0+

excludeFragment

TypeScript
get excludeFragment(): boolean
Swift declaration
var excludeFragment: Bool

A Boolean value that indicates whether parsing should exclude the URL fragment.

set · iOS 27.0+

excludeFragment

TypeScript
set excludeFragment(value: boolean)
Swift declaration
var excludeFragment: Bool

A Boolean value that indicates whether parsing should exclude the URL fragment.

get · iOS 27.0+

excludeIntermediates

TypeScript
get excludeIntermediates(): boolean
Swift declaration
var excludeIntermediates: Bool

A Boolean value that indicates whether parsing should exclude the URL fragment.

set · iOS 27.0+

excludeIntermediates

TypeScript
set excludeIntermediates(value: boolean)
Swift declaration
var excludeIntermediates: Bool

A Boolean value that indicates whether parsing should exclude the URL fragment.

get · iOS 27.0+

path

TypeScript
get path(): NEURLFilterManager_ParsingConfiguration_PathOptions
Swift declaration
var path: NEURLFilterManager.ParsingConfiguration.PathOptions

Parsing options for the URL path component.

set · iOS 27.0+

path

TypeScript
set path(value: NEURLFilterManager_ParsingConfiguration_PathOptions)
Swift declaration
var path: NEURLFilterManager.ParsingConfiguration.PathOptions

Parsing options for the URL path component.

get · iOS 27.0+

query

TypeScript
get query(): NEURLFilterManager_ParsingConfiguration_QueryOptions
Swift declaration
var query: NEURLFilterManager.ParsingConfiguration.QueryOptions

Parsing options for the URL query component.

set · iOS 27.0+

query

TypeScript
set query(value: NEURLFilterManager_ParsingConfiguration_QueryOptions)
Swift declaration
var query: NEURLFilterManager.ParsingConfiguration.QueryOptions

Parsing options for the URL query component.

get · iOS 27.0+

domain

TypeScript
get domain(): NEURLFilterManager_ParsingConfiguration_DomainOptions
Swift declaration
var domain: NEURLFilterManager.ParsingConfiguration.DomainOptions

Parsing options for the URL domain component.

set · iOS 27.0+

domain

TypeScript
set domain(value: NEURLFilterManager_ParsingConfiguration_DomainOptions)
Swift declaration
var domain: NEURLFilterManager.ParsingConfiguration.DomainOptions

Parsing options for the URL domain component.

Skipped declarations

No declarations were skipped in this snapshot.

All NetworkExtension types →