HstsMiddleware Class
- Namespace:
- Weavy.Web.Owin.HttpsPolicy
- Assembly:
- Weavy.Web.dll
Enables HTTP Strict Transport Security (HSTS). See https://tools.ietf.org/html/rfc6797.
public class HstsMiddleware : OwinMiddleware
- Inheritance:
- System.Object → HstsMiddleware
Constructors
Hsts |
Initializes a new instance of the HstsMiddleware class. |
Hsts |
Initializes a new instance of the HstsMiddleware class. |
Methods
Invoke(IOwin |
Invoke the middleware. |
Extension Methods
Is |
Gets a value indicating if the specified value has the default value of the generic type. |
Serialize(object) | Serializes an object, or graph of connected objects, to a byte array. |
Serialize |
Serializes an object, or graph of connected objects, to a json string. |
Is |
Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type. |