Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HSTSHandler

HTTP Strict Transport Security (HSTS) RFC6797.

This handler adds the strict transport security headers, for this domain or subdomains.

Hierarchy

  • HSTSHandler

Implements

Index

Properties

Methods

Properties

Static Readonly DEFAULT_MAX_AGE

DEFAULT_MAX_AGE: number

Methods

handle

Static create

  • Creates a new instance that shall consider the configuration for sub domains.

    Parameters

    • maxAge: number
    • includeSubDomains: boolean

    Returns HSTSHandler

  • Creates a new instance that shall consider the configuration for sub domains.

    Parameters

    • includeSubDomains: boolean

    Returns HSTSHandler

  • Creates a new instance that does not consider the configuration for sub domains. Using the default max age.

    Returns HSTSHandler

Generated using TypeDoc