public RequireSslMiddleware(Func <IDictionary <string, object>, Task> next, RequireSslOptions options)
 {
     _next    = next;
     _options = options;
 }
 public RequireSslMiddleware(Func<IDictionary<string, object>, Task> next, RequireSslOptions options)
 {
     _next = next;
     _options = options;
 }
 public static IAppBuilder RequireSsl(this IAppBuilder app, RequireSslOptions options)
 {
     app.Use(typeof(RequireSslMiddleware), options);
     return app;
 }