-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi Scott,
I am very tempted to use this plugin, but what is stopping me is that Id much rather declaratively set my limits on each operation/dto as an attribute, instead of in configuration settings.
Something like this in a service:
[LimitRate(5, 1)]
[LimitRate(15, 60)]
[LimitRate(100, 3600)]
public MyDtoReponse Post (MyDto request)
{
...
}
(Using the same rate limit set you demonstrate in the readme)
Is there some way to extend what you have to support this?