Package io.muserver
Interface RateLimitSelector
-
public interface RateLimitSelector
A function that controls how rate limits are applied. SeeMuServerBuilder.withRateLimiter(RateLimitSelector)
for usage details.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RateLimit
select(MuRequest request)
Selects a rate limit bucket based on the current request.
-