Skip to main content
Module

x/hsts_parser/types.ts>StrictTransportSecurity

HTTP Strict Transport Security(HSTS) header field parser
Latest
interface StrictTransportSecurity
import { type StrictTransportSecurity } from "https://deno.land/x/hsts_parser@1.0.0-beta.1/types.ts";

HTTP Strict-Transport-Security header field.

Properties

readonly
maxAge: number

The number of seconds, after the reception of the STS header field, during which the UA regards the host.

readonly
optional
includeSubDomains: boolean

Whether the rule applies to all subdomains or not.

readonly
optional
preload: boolean

Whether the domain do preload or not.