rack-throttle
rack-throttle copied to clipboard
Custom responses?
Is it possible to change the response to be totally custom (JSON, for example) like it is in redis-throttle?
:+1:
Do you want help writing the update? I would happily work on this.
I use a modified version to accomplish this. You can see the modifications I made here: https://github.com/ecnepsnai/rack-throttle/blob/master/lib/rack/throttle/limiter.rb
I will review and merge any pending pull requests this weekend, if you guys want to submit one.