httprate icon indicating copy to clipboard operation
httprate copied to clipboard

net/http rate limiter middleware

Results 6 httprate issues
Sort by recently updated
recently updated
newest added

Is there an easy way to use the existing httprate functionality but push it to the end resolution of the request/response chain instead of at the beginning. We want to...

The headers output by this middleware "X-RateLimit-Limit", "X-RateLimit-Remaining", "X-RateLimit-Reset", "Retry-After" should be output depending on a configuration for it.

The headers output by this middleware "X-RateLimit-Limit", "X-RateLimit-Remaining", "X-RateLimit-Reset", "Retry-After" should be output depending on a configuration for it.

Hi, We were testing this library for use as we already use Chi and found an issue with the current implementation. Currently's it first checks the status and then increments....

As I needed a networked-based limiter with transactions, I had to add the context to httprate. Initially made the change locally, copy/pasting most of the repo, but might as well...

This PR adds the capability of skipping rate limit by specifying 0