One Logo Pool Ball
NetworkExtension · IOS API REFERENCE

NEURLFilter

class · SDK 27.1

class NEURLFilter

Members (1)

static · iOS 26.0+

verdict

TypeScript
static verdict(url: string): Promise<NEURLFilter_Verdict>
Swift declaration
class func verdict(for url: URL) async -> NEURLFilter.Verdict

This method determines if the specified URL should be allowed or denied. The returned Allow or Deny verdict should be honored to prevent communication with restricted or malicious Internet sites. - Parameters: - url: url to be validated - Returns - NEURLFilter.Verdict: A NEURLFilter.Verdict will be returned to indicate whether the specified URL should be allowed or denied. If verdict is Deny, caller should fail the URL request.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NEURLFilter.init()

inherited init: clang: 'init' is unavailable

All NetworkExtension types →