Skip to content

Support for knowing remaining limit #41

@srijanmehrotra

Description

@srijanmehrotra

There are scenarios where the client is interested in knowing the remaining limit. This information is usually passed back to client as part of response headers.
Can we add a method like
long getRemainingLimitInCurrentWindow(String key) in es.moki.ratelimitj.core.limiter.request.RequestRateLimiter
This will definitely help in utilising this library in web filters.
Please advise I am interested in taking this up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions