HstsMiddleware.HstsMiddleware Constructor

Namespace:
Weavy.Web.Owin.HttpsPolicy
Assembly:
Weavy.Web.dll

Overloads

HstsMiddleware(OwinMiddleware) Initializes a new instance of the HstsMiddleware class.
HstsMiddleware(OwinMiddleware, HstsOptions) Initializes a new instance of the HstsMiddleware class.

HstsMiddleware(OwinMiddleware)

Initializes a new instance of the HstsMiddleware class.

public HstsMiddleware(OwinMiddleware next)

Parameters

next
Microsoft.Owin.OwinMiddleware

HstsMiddleware(OwinMiddleware, HstsOptions)

Initializes a new instance of the HstsMiddleware class.

public HstsMiddleware(OwinMiddleware next, HstsOptions options)

Parameters

next
Microsoft.Owin.OwinMiddleware
options
HstsOptions