getSiteReputation

abstract suspend fun getSiteReputation(url: String): SiteReputation

Checks the host or domain of a URL to determine if it is listed as malicious.

Return

LegacySiteReputation.isMalicious will be true if the URL should not be loaded.

Parameters

url

The URL of the resource that should be checked against the reputation rulesets

Samples

com.sudoplatform.sudositereputation.samples.Samples.getSiteReputation