HstsOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options for the Hsts Middleware
public ref class HstsOptions
public class HstsOptions
type HstsOptions = class
Public Class HstsOptions
- Inheritance
-
HstsOptions
Constructors
HstsOptions() |
Properties
ExcludedHosts |
A list of host names that will not add the HSTS header. |
IncludeSubDomains |
Enables includeSubDomain parameter of the Strict-Transport-Security header. |
MaxAge |
Sets the max-age parameter of the Strict-Transport-Security header. |
Preload |
Sets the preload parameter of the Strict-Transport-Security header. |