aspnetcore-redis-rate-limiting icon indicating copy to clipboard operation
aspnetcore-redis-rate-limiting copied to clipboard

Add metadata to also send header X-Rate-Limit-Reset

Open SwintDC opened this issue 2 years ago • 1 comments

A header "X-Rate-Limit-Reset" containing for example "2023-04-21T11:21:43.6820378Z" would be a nice addition.

Since the data is available on the RedisFixedWindowResponse class, it should be possible to add it.

See pull request: https://github.com/cristipufu/aspnetcore-redis-rate-limiting/pull/55

SwintDC avatar Apr 21 '23 11:04 SwintDC

PR is merged, still needs to be tested though

SwintDC avatar Apr 22 '23 07:04 SwintDC