get Exceptions
Gets the set of blocking exceptions that prevent URLs from being blocked. These are the URLs that are to be allowed even if the active rulesets say they should be blocked.
Return
The exceptions to the blocking rules.
Samples
launch {
val isMySiteExcepted =
withContext(Dispatchers.IO) {
client.getExceptions().firstOrNull { exc ->
exc.source.contains("http://myfavourite.domain.eu")
}
} ?: false
}Content copied to clipboard