allowUrl

abstract fun allowUrl(url: String, scope: UrlAllowList.Scope): Boolean(source)

Called when the URL has passed the isAllowed() check.

Return

true to accept the URL, false to reject the URL.

Parameters

url

The URL.

scope

The scope.