Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom responses? #16

Open
ecnepsnai opened this issue May 18, 2015 · 3 comments
Open

Custom responses? #16

ecnepsnai opened this issue May 18, 2015 · 3 comments
Assignees

Comments

@ecnepsnai
Copy link
Contributor

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

@artob artob self-assigned this May 18, 2015
@sethherr
Copy link

👍

Do you want help writing the update? I would happily work on this.

@ecnepsnai
Copy link
Contributor Author

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
Copy link
Member

artob commented May 22, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants