---
title: NEURLFilter
framework: networkextension
role: symbol
role_heading: Class
path: networkextension/neurlfilter
---

# NEURLFilter

A class used to voluntarily validate URLs for apps that don’t use WebKit or the URL session API.

## Declaration

```swift
class NEURLFilter
```

## Overview

Overview When using networking frameworks other than WebKit or Foundation’s URLSession, use the NEURLFilter API to evaluate URLs before potentially connecting to a restricted or malicious site. Call the class method verdict(for:) to check a URL and honor the “allow” or “deny” verdict. Don’t connect to any URL that receives a “deny” verdict.

## Topics

### Evaluating a URL

- [verdict(for:)](networkextension/neurlfilter/verdict(for:).md)
- [NEURLFilter.Verdict](networkextension/neurlfilter/verdict.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### URL filters

- [NEURLFilterManager](networkextension/neurlfiltermanager.md)
- [NEURLFilterControlProvider](networkextension/neurlfiltercontrolprovider.md)
- [NEURLFilterControlProviderConfiguration](networkextension/neurlfiltercontrolproviderconfiguration.md)
