HSTSEnforcer.hasValidPolicy

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

class HSTSEnforcer
bool
hasValidPolicy
(
string domain
)

Parameters

domain string

a domain.

Return Value

Type: bool

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

Meta

Since

2.68