public ThrottlingMiddleware(AppFunc next, ThrottlingOptions options)
 {
     _next = next;
     _options = options;
 }
 public static IAppBuilder UseThrottling(this IAppBuilder builder, ThrottlingOptions options)
 {
     return builder.Use(typeof(ThrottlingMiddleware), options);
 }
Beispiel #3
0
 public ThrottlingMiddleware(AppFunc next, ThrottlingOptions options)
 {
     _next    = next;
     _options = options;
 }