HostsSanitizer - DataDog/dd-sdk-android GitHub Wiki
class HostsSanitizer
Utility class with the goal to perform host sanitization. Not intended for the public use.
Constructors
HostsSanitizer
constructor()
Functions
sanitizeHosts
fun sanitizeHosts(hosts: List<String>, feature: String): List<String>
Performs hosts sanitization by comparing them with patterns from pre-defined set.
Parameters
hosts | Hosts to sanitize. |
feature | SDK feature requesting the sanitization. |