isRefusedCleartextLayerUrl

fun isRefusedCleartextLayerUrl(url: String, cleartextPermitted: (host: String) -> Boolean = ::isCleartextPermitted): Boolean(source)

Whether url is a parseable http URL whose host the platform refuses plain http to.