otherwise.
HSTSEnforcer.hasValidPolicy
bool hasValidPolicy(string domain)Gets whether hsts_enforcer has a currently valid policy for domain.
Parameters
domain | a domain. |
Returns
true if access to domain should happen over HTTPS, false
bool hasValidPolicy(string domain)Gets whether hsts_enforcer has a currently valid policy for domain.
domain | a domain. |
otherwise.