dryruby/rack-throttle

Custom responses?

Opened this issue · 3 comments

Is it possible to change the response to be totally custom (JSON, for example) like it is in redis-throttle?

👍

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

artob commented

I will review and merge any pending pull requests this weekend, if you guys want to submit one.