mappingToAnyHost

@JvmStatic
@JvmName(name = "anyHostTo")
fun String.mappingToAnyHost(): AddressMapping(source)

Creates a AddressMapping that instructs tor to generate a random host value (e.g. 4lr2xdqckbl4nttj.virtual) and map the provided string (host name) to it.

If the string (host name) is already mapped, tor will return that mapping for AddressMapping.Result.