HstsMiddleware Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
HstsMiddleware(RequestDelegate, IOptions<HstsOptions>) |
Inicializace middlewaru HSTS |
HstsMiddleware(RequestDelegate, IOptions<HstsOptions>, ILoggerFactory) |
Inicializace middlewaru HSTS |
HstsMiddleware(RequestDelegate, IOptions<HstsOptions>)
- Zdroj:
- HstsMiddleware.cs
- Zdroj:
- HstsMiddleware.cs
- Zdroj:
- HstsMiddleware.cs
Inicializace middlewaru HSTS
public:
HstsMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::HttpsPolicy::HstsOptions ^> ^ options);
public HstsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.HttpsPolicy.HstsOptions> options);
new Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.HttpsPolicy.HstsOptions> -> Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of HstsOptions))
Parametry
- next
- RequestDelegate
- options
- IOptions<HstsOptions>
Platí pro
HstsMiddleware(RequestDelegate, IOptions<HstsOptions>, ILoggerFactory)
- Zdroj:
- HstsMiddleware.cs
- Zdroj:
- HstsMiddleware.cs
Inicializace middlewaru HSTS
public:
HstsMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::HttpsPolicy::HstsOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public HstsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.HttpsPolicy.HstsOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.HttpsPolicy.HstsOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of HstsOptions), loggerFactory As ILoggerFactory)
Parametry
- next
- RequestDelegate
- options
- IOptions<HstsOptions>
- loggerFactory
- ILoggerFactory