Tabcorp/redis-rate-limiter

Return ttl from limit() function

jkirkwood opened this issue · 0 comments

Can the current ttl of the rate limit key be returned from the limit() function? This would give the ability to easily set the Retry-After header in an http response.