getHstsHeader
Build the Strict-Transport-Security header value for HSTS.
Parameters
None.
Returns
string | null — The HSTS header string (e.g., "max-age=31536000; includeSubDomains"),
or null if HSTS is disabled or SSL is off.
Build the Strict-Transport-Security header value for HSTS.
None.
string | null — The HSTS header string (e.g., "max-age=31536000; includeSubDomains"),
or null if HSTS is disabled or SSL is off.