Interface for the hsts middleware options. By default, the 'Strict-Transport-Security' header will not be set.
optional
includeSubDomains: boolean
Whether to include subdomains in the 'Strict-Transport-Security' header.
optional
maxAge: number | null
The maximum age of the 'Strict-Transport-Security' header.
optional
preload: boolean
Whether to preload the 'Strict-Transport-Security' header.
optional
setIf: (requestResponse: RequestResponseInterface) => boolean
A function that returns true if the 'Strict-Transport-Security' header should be set.