protected RateLimitMiddleware( RequestDelegate next, RateLimitOptions options, TProcessor processor, IRateLimitConfiguration config) { _next = next; _options = options; _processor = processor; _config = config; }
protected RateLimitProcessor( RateLimitOptions options, IRateLimitCounterStore counterStore, ICounterKeyBuilder counterKeyBuilder, IRateLimitConfiguration config) { _options = options; _counterStore = counterStore; _counterKeyBuilder = counterKeyBuilder; _config = config; }