HstsServicesExtensions Class

Definition

Extension methods for the HSTS middleware.

public ref class HstsServicesExtensions abstract sealed
public static class HstsServicesExtensions
type HstsServicesExtensions = class
Public Module HstsServicesExtensions
Inheritance
HstsServicesExtensions

Methods

AddHsts(IServiceCollection, Action<HstsOptions>)

Adds HSTS services.

Applies to