HttpsRedirectionOptions Class

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

Options for the HttpsRedirection middleware

public class HttpsRedirectionOptions
Inheritance:
System.Object → HttpsRedirectionOptions

Constructors

HttpsRedirectionOptions()

Properties

HttpsPort The HTTPS port to be added to the redirected URL. The default is 443.
RedirectStatusCode The status code used for the redirect response. The default is 307.

Extension Methods

IsNullOrDefault(T) 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.
SerializeToJson(object, Formatting?, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.