Megosztás a következőn keresztül:


HstsOptions Class

Definition

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.

Applies to