Поделиться через


HstsMiddleware Конструкторы

Определение

Перегрузки

HstsMiddleware(RequestDelegate, IOptions<HstsOptions>)

Инициализируйте ПО промежуточного слоя HSTS.

HstsMiddleware(RequestDelegate, IOptions<HstsOptions>, ILoggerFactory)

Инициализируйте ПО промежуточного слоя HSTS.

HstsMiddleware(RequestDelegate, IOptions<HstsOptions>)

Исходный код:
HstsMiddleware.cs
Исходный код:
HstsMiddleware.cs
Исходный код:
HstsMiddleware.cs

Инициализируйте ПО промежуточного слоя 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))

Параметры

Применяется к

HstsMiddleware(RequestDelegate, IOptions<HstsOptions>, ILoggerFactory)

Исходный код:
HstsMiddleware.cs
Исходный код:
HstsMiddleware.cs

Инициализируйте ПО промежуточного слоя 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)

Параметры

loggerFactory
ILoggerFactory

Применяется к