Skip to content

HostsSanitizer

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

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.
Clone this wiki locally