HstsMiddleware Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
HstsMiddleware(RequestDelegate, IOptions<HstsOptions>) |
Inicialize o middleware HSTS. |
HstsMiddleware(RequestDelegate, IOptions<HstsOptions>, ILoggerFactory) |
Inicialize o middleware HSTS. |
HstsMiddleware(RequestDelegate, IOptions<HstsOptions>)
- Origem:
- HstsMiddleware.cs
- Origem:
- HstsMiddleware.cs
- Origem:
- HstsMiddleware.cs
Inicialize o middleware 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))
Parâmetros
- next
- RequestDelegate
- options
- IOptions<HstsOptions>
Aplica-se a
HstsMiddleware(RequestDelegate, IOptions<HstsOptions>, ILoggerFactory)
- Origem:
- HstsMiddleware.cs
- Origem:
- HstsMiddleware.cs
Inicialize o middleware 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)
Parâmetros
- next
- RequestDelegate
- options
- IOptions<HstsOptions>
- loggerFactory
- ILoggerFactory