evaluateURL(_:completionHandler:)
Declaration
func evaluateURL(_ url: URL, completionHandler: @escaping @Sendable (Bool) -> Void)func evaluateURL(_ url: URL) async -> BoolParameters
- url:
The URL to be evaluated.
- completionHandler:
The completion block to be invoked with result when evaluation is complete. Result is YES if the url should be blocked, and NO if it isn’t.
Discussion
Evaluates whether a URL should be blocked.