hasValidPolicy

open fun hasValidPolicy(domain: String): Boolean(source)

Gets whether @hsts_enforcer has a currently valid policy for @domain.

Return

true if access to @domain should happen over HTTPS, false otherwise.

Parameters

domain

a domain.